Quantcast

Add OvaleTotem module to keep state for player's totems.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-12-15 15:46:27
Author local date 2014-12-15 10:46:27 -0500
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-12-16 17:17:27
Committer local date 2014-12-16 12:17:27 -0500
Commit 51a75a43962cdb2815e8e22c1584e6d8000e96db
Tree 9758850f7cde5e4a91fbc8a44d80ae8654bb64c2
Parent 2a20049ff5f0ff86a2627e1548c16fbf3543f126
Add OvaleTotem module to keep state for player's totems.

OvaleTotem tracks everything that is considered to be a totem in-game.
This includes shaman totems, mage's Rune of Power and Prismatic Crystal,
druid Wild Mushroom, and monk statues.  Casting a spell that summons a
totem in the simulator will now actually summon the totem in the
simulator.

Modify script conditions to use the new state methods provided by
OvaleTotem.  RuneOfPowerRemaining() is deprecated and the Totem*()
conditions now directly take the ID of the spell that summons the totem.

Decorate totem spell descriptions in the default scripts with information
used by OvaleTotem.