My primestat

From Kolmafia
Revision as of 13:54, 1 March 2010 by imported>Grotfang (moved My primestat() to My primestat)
Jump to navigation Jump to search

stat my_primestat()

Returns the stat associated with your class.

The following example attempts to create as many scrumpdiddlyumptious solutions as you have scrumptious reagents if you are a mysticality class.

 if (my_primestat() == $stat[mysticality]){
   retrieve_item(item_amount($item[scrumptious reagent]), $item[delectable catalyst]);
   use(item_amount($item[delectable catalyst]), $item[delectable catalyst]);
 }

When not logged in, this function returns $stat[moxie].