mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/Creature: Implemented sparring with max health percent thresholds (#27198)
Co-authored-by: Ovah <dreadkiller@gmx.de>
This commit is contained in:
@@ -1151,11 +1151,6 @@ class npc_thorim_pre_phase : public CreatureScript
|
||||
thorim->AI()->DoAction(ACTION_INCREASE_PREADDS_COUNT);
|
||||
}
|
||||
|
||||
bool ShouldSparWith(Unit const* target) const override
|
||||
{
|
||||
return !target->GetAffectingPlayer();
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType /*damageType*/, SpellInfo const* /*spellInfo = nullptr*/) override
|
||||
{
|
||||
// nullify spell damage
|
||||
|
||||
Reference in New Issue
Block a user