From 346e44d0b19d4afc7e739cec72973dd60d8c771c Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Mon, 2 Sep 2013 15:40:51 +0000 Subject: [PATCH] Alias IncomingDamage to DamageTaken to match SimC condition name. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1013 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index cd4dc8f..836c101 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -1408,6 +1408,7 @@ end -- @paramsig number -- @param interval The number of seconds before now. -- @return The amount of damage taken in the previous interval. +-- @see IncomingDamage -- @usage -- if DamageTaken(5) > 50000 Spell(death_strike) @@ -1421,6 +1422,7 @@ OvaleCondition.conditions.damagetaken = function(condition) end return 0, nil, damage, 0, 0 end +OvaleCondition.conditions.incomingdamage = OvaleCondition.conditions.damagetaken --- Get the current amount of demonic fury for demonology warlocks. -- @name DemonicFury -- 1.7.9.5