Document optional parameter for TotemExpires().
Johnny C. Lam [01-23-13 - 20:54]
Document optional parameter for TotemExpires().
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@667 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleCondition.lua b/OvaleCondition.lua
index 6204dd7..fe1ee38 100644
--- a/OvaleCondition.lua
+++ b/OvaleCondition.lua
@@ -2610,10 +2610,13 @@ end
-- @paramsig boolean
-- @param id The NPC id of the totem, ghoul or statue, or the type of totem.
-- Valid types: fire, water, air, earth, ghoul, statue.
+-- @param seconds Optional. The maximum number of seconds before the totem should expire.
+-- Defaults to 0 (zero).
-- @return A boolean value.
-- @see TotemPresent
-- @usage
-- if TotemExpires(fire) Spell(searing_totem)
+-- if TotemExpires(water 3) Spell(totemic_recall)
OvaleCondition.conditions.totemexpires = function(condition)
if type(condition[1]) ~= "number" then