Core/Spells: Rename SpellAttr4 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d16a79dea4c0100d36e13b068c42499a3a48154)
This commit is contained in:
@@ -1828,6 +1828,10 @@ namespace Game.Spells
|
||||
if (target.GetGUID() != GetCasterGUID())
|
||||
return 0;
|
||||
|
||||
if (!m_spellInfo.HasAttribute(SpellAttr4.AllowProcWhileSitting))
|
||||
if (!target.IsStandState())
|
||||
return 0;
|
||||
|
||||
bool success = RandomHelper.randChance(CalcProcChance(procEntry, eventInfo));
|
||||
|
||||
SetLastProcAttemptTime(now);
|
||||
|
||||
Reference in New Issue
Block a user