Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1
Port From (https://github.com/TrinityCore/TrinityCore/commit/d818add0e20fcf2c86ef46b5cd94f942488511a0)
This commit is contained in:
@@ -4379,7 +4379,7 @@ namespace Game.Entities
|
||||
if (spellInfo.ActiveIconFileDataId == 135754) // flight
|
||||
spellInfo.Attributes |= SpellAttr0.Passive;
|
||||
|
||||
if (spellInfo.IsSingleTarget())
|
||||
if (spellInfo.IsSingleTarget() && spellInfo.MaxAffectedTargets == 0)
|
||||
spellInfo.MaxAffectedTargets = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user