Difference between revisions of "Stat bonus tomorrow"

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
imported>ZammyWarrior
Line 1: Line 1:
 
'''stat stat_bonus_tomorrow()'''<br/>
 
'''stat stat_bonus_tomorrow()'''<br/>
Returns the stat that is benefitted 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){
 +
  abort("Stat day tomorrow!!");
 +
}
 
[[Category:Your Character | Stat bonus tomorrow()]]
 
[[Category:Your Character | Stat bonus tomorrow()]]
 
[[Category:Ash Functions |Stat bonus tomorrow()]]
 
[[Category:Ash Functions |Stat bonus tomorrow()]]
[[Category:Needs Code Samples | Stat bonus tomorrow()]]
 

Revision as of 00:02, 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!!");

}