mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
fix formatting in cazictouch
This commit is contained in:
+2
-1
@@ -2471,8 +2471,9 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((RuleB(Bots, CazicTouchBotsOwner) && spell_target && spell_target->IsBot()) && spell_id == (SPELL_CAZIC_TOUCH || spell_id == SPELL_TOUCH_OF_VINITRAS)) {
|
if ((RuleB(Bots, CazicTouchBotsOwner) && spell_target && spell_target->IsBot()) && (spell_id == SPELL_CAZIC_TOUCH || spell_id == SPELL_TOUCH_OF_VINITRAS)) {
|
||||||
auto bot_owner = spell_target->GetOwner();
|
auto bot_owner = spell_target->GetOwner();
|
||||||
|
|
||||||
if (bot_owner) {
|
if (bot_owner) {
|
||||||
spell_target = bot_owner;
|
spell_target = bot_owner;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user