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:
@@ -341,7 +341,7 @@ class spell_monk_pressure_points : SpellScript
|
||||
return !GetCaster().HasAura(SpellIds.PressurePoints);
|
||||
}
|
||||
|
||||
static void PreventDispel(ref WorldObject target)
|
||||
void PreventDispel(ref WorldObject target)
|
||||
{
|
||||
target = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user