From 045c8cded7fad86d9d530ba012c759b1a239a956 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Wed, 23 Jan 2013 20:54:12 +0000 Subject: [PATCH] Document optional parameter for TotemExpires(). git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@667 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.9.5