Alias IncomingDamage to DamageTaken to match SimC condition name.
Johnny C. Lam [09-02-13 - 15:40]
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
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