mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Scripts: make travis happy
This commit is contained in:
@@ -1446,7 +1446,7 @@ struct npc_beryl_sorcerer : public FollowerAI
|
||||
|
||||
void SpellHit(Unit* caster, SpellInfo const* spell) override
|
||||
{
|
||||
if (spell->Id != SPELL_ARCANE_CHAINS || !caster->IsPlayer() || HealthAbovePct(50) && !_enslaved)
|
||||
if (spell->Id != SPELL_ARCANE_CHAINS || !caster->IsPlayer() || HealthAbovePct(50) || _enslaved)
|
||||
return;
|
||||
|
||||
Player* player = caster->ToPlayer();
|
||||
|
||||
Reference in New Issue
Block a user