Quantcast

Note that PowerCost(spellId) can return 0 for some spells.

Johnny C. Lam [09-26-13 - 05:33]
Note that PowerCost(spellId) can return 0 for some spells.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1026 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleCondition.lua
diff --git a/OvaleCondition.lua b/OvaleCondition.lua
index 3dd3136..5a16b1d 100644
--- a/OvaleCondition.lua
+++ b/OvaleCondition.lua
@@ -2606,6 +2606,7 @@ end
 OvaleCondition.conditions.otherbuffremains = OvaleCondition.conditions.otherdebuffremains

 --- Get the resource cost of the given spell.
+-- This returns zero for spells that use either mana or another resource based on stance/specialization, e.g., Monk's Jab.
 -- @name PowerCost
 -- @paramsig number
 -- @param id The spell ID.