Scripts: make travis happy

This commit is contained in:
Ovahlord
2020-01-31 11:56:18 +01:00
parent b97b41276b
commit 01be7e130f

View File

@@ -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();