In mysticality sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Eliteofdelete
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Your Character|


function1={{Function|
function1={{Function|
Line 14: Line 13:
}}|
}}|


function_description=Returns true if your ascension sign is a mysticality sign; otherwise, returns false.|
function_description=Returns true if your moon sign gives a bonus to mysticality stat gains. Otherwise it returns false.|


code1={{CodeSample|
code1={{CodeSample|
title=Code Samples|
title=Code Samples|
description=This example farms the logging camp if it's accessible.|
description=|
code=
code=
<syntaxhighlight>
<syntaxhighlight>
if(in_mysticality_sign() && my_adventures() > 0) {
if (in_mysticality_sign())  
   adventure(my_adventures() , $location[logging camp]);
   print("You currently get +10% mysticality sub stats and your current sign is "+my_sign()+".", "blue");
}
else print("Your sign isn't a mysticality sign.", "blue");
</syntaxhighlight>
</syntaxhighlight>|
 
}}|
}}|


Line 30: Line 30:
special=When not logged in, this function returns false.
special=When not logged in, this function returns false.
}}
}}
[[Category:Your Character]]

Latest revision as of 03:40, 14 January 2015

Function Syntax

boolean in_mysticality_sign()

Returns true if your moon sign gives a bonus to mysticality stat gains. Otherwise it returns false.

Code Samples

if (in_mysticality_sign()) 
   print("You currently get +10% mysticality sub stats and your current sign is "+my_sign()+".", "blue");
else print("Your sign isn't a mysticality sign.", "blue");

See Also

in_muscle_sign() | in_moxie_sign() | my_adventures()

Special

When not logged in, this function returns false.