In mysticality sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Eliteofdelete
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''boolean in_mysticality_sign()'''<br/>
{{
Returns true if your ascension sign is a mysticality sign otherwise false.
#vardefine:name|in_mysticality_sign}}{{
[[Category:Your Character | In mysticality sign()]]
#vardefine:return_type|boolean}}{{
[[Category:Ash Functions |In mysticality sign()]]
[[Category:Needs Code Samples | In mysticality sign()]]
<pre>#Script checks to see if your in mysticality sign. If true, it 'farms' the logging camp.


if(in_mysticality_sign() && my_adventures() > 0){
FunctionPage|
adventure(my_adventure(), $location[logging camp]);
name={{#var:name}}|
}</pre>
 
function1={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}
}}|
 
function_description=Returns true if your moon sign gives a bonus to mysticality stat gains. Otherwise it returns false.|
 
code1={{CodeSample|
title=Code Samples|
description=|
code=
<syntaxhighlight>
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");
</syntaxhighlight>|
 
}}|
 
see_also={{SeeAlso|in_muscle_sign|in_moxie_sign|my_adventures}}|
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.