G gonemental Member Joined Nov 14, 2010 Messages 295 Reaction score 11 Oct 24, 2014 #1 Is there a way to find the power cost of spell with the new api. Seems it got removed in the latest build.
Is there a way to find the power cost of spell with the new api. Seems it got removed in the latest build.
G gonemental Member Joined Nov 14, 2010 Messages 295 Reaction score 11 Oct 26, 2014 #2 API GetSpellInfo - Wowpedia - Your wiki guide to the World of Warcraft Guess Blizzard changed the LUA.
API GetSpellInfo - Wowpedia - Your wiki guide to the World of Warcraft Guess Blizzard changed the LUA.
altec Community Developer Joined Jun 11, 2011 Messages 425 Reaction score 7 Oct 26, 2014 #3 excellent catch, time to frontload conditional for spells now
G gonemental Member Joined Nov 14, 2010 Messages 295 Reaction score 11 Jan 2, 2015 #4 Code: public static bool HaveEnergy(string Name) { string lua = String.Format("return IsUsableSpell(\"{0}\")", Name); return Lua.GetReturnVal<bool>(lua, 2); }
Code: public static bool HaveEnergy(string Name) { string lua = String.Format("return IsUsableSpell(\"{0}\")", Name); return Lua.GetReturnVal<bool>(lua, 2); }