In mysticality sign: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Eliteofdelete No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
}}| | }}| | ||
function_description=Returns true if your | 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= | description=| | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
if(in_mysticality_sign() | 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> | </syntaxhighlight>| | ||
}}| | }}| | ||
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
Special
When not logged in, this function returns false.