Difference between revisions of "Stat bonus tomorrow"
Jump to navigation
Jump to search
imported>ZammyWarrior |
imported>ZammyWarrior |
||
Line 1: | Line 1: | ||
'''stat stat_bonus_tomorrow()'''<br/> | '''stat stat_bonus_tomorrow()'''<br/> | ||
Returns the stat that is benefited by the moon phases today or tomorrow. If it is an “ordinary” day, the return value is $stat[none]. | Returns the stat that is benefited by the moon phases today or tomorrow. If it is an “ordinary” day, the return value is $stat[none]. | ||
− | if(stat_bonus_tomorrow() == $stat[muscle] && my_adventures() <= 140){ | + | <pre>if(stat_bonus_tomorrow() == $stat[muscle] && my_adventures() <= 140){ |
abort("Stat day tomorrow!!"); | abort("Stat day tomorrow!!"); | ||
} | } |
Revision as of 00:03, 17 November 2007
stat stat_bonus_tomorrow()
Returns the stat that is benefited by the moon phases today or tomorrow. If it is an “ordinary” day, the return value is $stat[none].
if(stat_bonus_tomorrow() == $stat[muscle] && my_adventures() <= 140){ abort("Stat day tomorrow!!"); }