Updated all spell scripts
This commit is contained in:
@@ -2018,7 +2018,7 @@ namespace Game
|
||||
{
|
||||
// i = (315 - 1) / 8 = 39
|
||||
// m = 1 << ((315 - 1) % 8) = 4
|
||||
int deathKnightExtraNode = playerClass != Class.Deathknight || i != 39 ? 0 : 4;
|
||||
int deathKnightExtraNode = playerClass != Class.DeathKnight || i != 39 ? 0 : 4;
|
||||
taximaskstream += (uint)(factionMask[i] | deathKnightExtraNode) + ' ';
|
||||
}
|
||||
|
||||
|
||||
@@ -630,7 +630,7 @@ namespace Game
|
||||
if (target == null)
|
||||
return;
|
||||
|
||||
if (target.GetCasterGuid() != _player.GetGUID())
|
||||
if (target.GetCasterGUID() != _player.GetGUID())
|
||||
return;
|
||||
|
||||
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo(target.m_areaTriggerData.SpellForVisuals, _player.GetMap().GetDifficultyID());
|
||||
|
||||
Reference in New Issue
Block a user