feat: Add Spell:GetReagentCost() function (#165)

This commit is contained in:
3ster
2024-02-25 20:45:58 +01:00
committed by GitHub
parent 05b43dd89b
commit 2bd22cf927
2 changed files with 25 additions and 0 deletions

View File

@@ -1085,6 +1085,7 @@ ElunaRegister<Spell> SpellMethods[] =
{ "GetEntry", &LuaSpell::GetEntry },
{ "GetDuration", &LuaSpell::GetDuration },
{ "GetPowerCost", &LuaSpell::GetPowerCost },
{ "GetReagentCost", &LuaSpell::GetReagentCost },
{ "GetTargetDest", &LuaSpell::GetTargetDest },
{ "GetTarget", &LuaSpell::GetTarget },