Core/Spells: Add a helper function to sort spell targets based on custom scripted sorting rules
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3f3fda3fc533daa4064739b633dbb28f5115d3)
This commit is contained in:
@@ -1282,9 +1282,7 @@ class spell_warl_shadowburn : SpellScript
|
||||
OnCalcCritChance.Add(new(CalcCritChance));
|
||||
}
|
||||
|
||||
public
|
||||
static void TryEnergize(Player caster, Unit target, SpellInfo spellInfo,
|
||||
Spell triggeringSpell, AuraEffect triggeringAura)
|
||||
public static void TryEnergize(Player caster, Unit target, SpellInfo spellInfo, Spell triggeringSpell, AuraEffect triggeringAura)
|
||||
{
|
||||
if (caster == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user