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); }