From 2677fc5fac7d53ec9a4505a1c5f58ef4cc79dac4 Mon Sep 17 00:00:00 2001 From: Emagi Date: Thu, 12 Jun 2025 15:15:25 -0400 Subject: [PATCH] Going to still check wards if the caster is not who we are currently checking wards on (eg. not self) --- source/WorldServer/Entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WorldServer/Entity.cpp b/source/WorldServer/Entity.cpp index 1a6baba..7c0a451 100644 --- a/source/WorldServer/Entity.cpp +++ b/source/WorldServer/Entity.cpp @@ -2387,7 +2387,7 @@ int32 Entity::CheckWards(Entity* attacker, int32 damage, int8 damage_type) { } if (attacker && spell->caster) - attacker->DamageSpawn(spell->caster, DAMAGE_PACKET_TYPE_SPELL_DAMAGE, damage_type, redirectDamage, redirectDamage, 0, 0, false, false, false, false, spell, true); + attacker->DamageSpawn(spell->caster, DAMAGE_PACKET_TYPE_SPELL_DAMAGE, damage_type, redirectDamage, redirectDamage, 0, 0, false, false, false, false, spell, (spell->caster == this) ? true : false); } bool shouldRemoveSpell = false;