From 949779ef771e6e37ae252b68b225b503c8ca9e18 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 9 Feb 2013 20:17:45 +0000 Subject: [PATCH] Fix documentation for IsFriend(), TickTime() and TimeToDie() conditions. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@686 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index b33c9f1..23889b0 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -1480,7 +1480,7 @@ end --- Test if the target is friendly to the player. -- @name IsFriend -- @paramsig boolean --- @param yesno Optional. If yes, then return true if the target is interruptible. If no, then return true if it isn't interruptible. +-- @param yesno Optional. If yes, then return true if the target is friendly (able to help in combat). If no, then return true if it isn't friendly. -- Default is yes. -- Valid values: yes, no. -- @param target Optional. Sets the target to check. The target may also be given as a prefix to the condition. @@ -2525,7 +2525,7 @@ OvaleCondition.conditions.ticksremain = function(condition) end OvaleCondition.auraConditions.ticksremain = true ---- Get the number of seconds between ticsk of a damage-over-time (DoT) aura on a target. +--- Get the number of seconds between ticks of a damage-over-time (DoT) aura on a target. -- @name TickTime -- @paramsig number or boolean -- @param id The aura spell ID. @@ -2574,7 +2574,7 @@ end -- @return The number of seconds. -- @see DeadIn -- @usage --- if TimeToDie() <2 and ComboPoints() >0 Spell(eviscerate) +-- if target.TimeToDie() <2 and ComboPoints() >0 Spell(eviscerate) OvaleCondition.conditions.timetodie = function(condition) return 0, nil, 0, getTargetDead(getTarget(condition.target)), -1 -- 1.7.9.5