Stat bonus today: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>ZammyWarrior
No edit summary
Line 3: Line 3:
<pre>if(stat_bonus_today() == $stat[moxie]){
<pre>if(stat_bonus_today() == $stat[moxie]){
eat(3, $item[rat appendix chow mein]);
eat(3, $item[rat appendix chow mein]);
}
}</pre>
[[Category:Your Character | Stat bonus today()]]
[[Category:Your Character | Stat bonus today()]]
[[Category:Ash Functions |Stat bonus today()]]
[[Category:Ash Functions |Stat bonus today()]]

Revision as of 00:01, 17 November 2007

stat stat_bonus_today()
Returns the stat that is benefitted by the moon phases today. If it is an “ordinary” day, the return value is $stat[none].

if(stat_bonus_today() == $stat[moxie]){
eat(3, $item[rat appendix chow mein]);
}