From 6d5cea0d9a01b220b10592a154cb6a6c04cad00c Mon Sep 17 00:00:00 2001 From: gsemaj Date: Mon, 14 Aug 2023 19:49:39 -0700 Subject: [PATCH] Return home heal to new system --- src/MobAI.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/MobAI.cpp b/src/MobAI.cpp index ceb4faa..f5fb205 100644 --- a/src/MobAI.cpp +++ b/src/MobAI.cpp @@ -741,11 +741,8 @@ void MobAI::onRoamStart(CombatNPC* npc, EntityRef src) { self->nextAttack = 0; // cast a return home heal spell, this is the right way(tm) - // TODO ABILITIES - /*std::vector targetData = { 1, 0, 0, 0, 0 }; - for (auto& pwr : Abilities::Powers) - if (pwr.skillType == Abilities::SkillTable[110].skillType) - pwr.handle(self->id, targetData, 110, Abilities::SkillTable[110].durationTime[0], Abilities::SkillTable[110].powerIntensity[0]);*/ + Abilities::useNPCSkill(npc->getRef(), 110, { npc }); + // clear outlying debuffs clearDebuff(self); }