This commit is contained in:
nytmyr
2024-10-31 23:21:42 -05:00
parent 9b87aaf39b
commit 4dcaef65cd
3 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -2546,9 +2546,9 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
float range = spells[spell_id].range + GetRangeDistTargetSizeMod(spell_target);
if (
(
(IsClient() && CastToClient()->TGB()) || (IsBot() && RuleB(Bots, EnableBotTGB)
(IsClient() && CastToClient()->TGB()) || (IsBot() && RuleB(Bots, EnableBotTGB))
) &&
IsTGBCompatibleSpell(spell_id) && IsGroupSpell(spell_id))
IsTGBCompatibleSpell(spell_id) && IsGroupSpell(spell_id)
) {
range = spells[spell_id].aoe_range;
}