We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc63f92 commit 3723561Copy full SHA for 3723561
1 file changed
methods/AzerothCore/CreatureMethods.h
@@ -789,7 +789,8 @@ namespace LuaCreature
789
{
790
Unit* victim = E->CHECKOBJ<Unit>(2);
791
float threat = E->CHECKVAL<float>(3, true);
792
- float schoolMask = E->CHECKVAL<uint32>(4, 0);
+ //schoolMask is unused but other cores support it so we still reserve the number.
793
+ //float schoolMask = E->CHECKVAL<uint32>(4, 0);
794
uint32 spell = E->CHECKVAL<uint32>(5, 0);
795
796
creature->GetThreatMgr().AddThreat(victim, threat, spell ? sSpellMgr->GetSpellInfo(spell) : NULL);
0 commit comments