Difference between revisions of "In moxie sign"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
m
imported>Eliteofdelete
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
}}|
 
}}|
  
function_description=Returns true if your ascension sign is a moxie sign; otherwise, returns false.|
+
function_description=Returns true if your moon sign gives a bonus to moxie stat gains. Otherwise it returns false.|
  
 
code1={{CodeSample|
 
code1={{CodeSample|
 
title=Code Samples|
 
title=Code Samples|
description=This example will adventure in the Thugnderdome if you are able.|
+
description=|
 
code=
 
code=
 
<syntaxhighlight>
 
<syntaxhighlight>
if(in_moxie_sign() && my_adventures() > 0) {
+
if (in_moxie_sign())  
   adventure(my_adventures() , $location[thugnderdome]);
+
   print("You currently get +10% moxie sub stats and your current sign is "+my_sign()+".", "blue");
}
+
else print("Your sign isn't a moxie sign.", "blue");
</syntaxhighlight>
+
</syntaxhighlight>|
 +
 
 +
</pre>
 
}}|
 
}}|
  

Latest revision as of 03:39, 14 January 2015

Function Syntax

boolean in_moxie_sign()

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

Code Samples

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

See Also

in_muscle_sign() | in_mysticality_sign() | my_adventures()

Special

When not logged in, this function returns false.