Core/Spells: Add a helper function to sort spell targets based on custom scripted sorting rules
This commit is contained in:
@@ -297,11 +297,6 @@ class spell_sha_ancestral_guidance : public AuraScript
|
||||
// 114911 - Ancestral Guidance Heal
|
||||
class spell_sha_ancestral_guidance_heal : public SpellScript
|
||||
{
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_SHAMAN_ANCESTRAL_GUIDANCE });
|
||||
}
|
||||
|
||||
static void ResizeTargets(SpellScript const&, std::list<WorldObject*>& targets)
|
||||
{
|
||||
Trinity::SelectRandomInjuredTargets(targets, 3, true);
|
||||
|
||||
Reference in New Issue
Block a user