local ActionParent = require "scenes.battlesystem.controllers.fighters.systems.actions.parent" local EnnemyAction = ActionParent:extend() function EnnemyAction:new(fighter, skill) self.data = game.skills:getEnnemySkillData(skill) EnnemyAction.super.new(self, fighter) end function EnnemyAction:needTarget() return (self.data.targetNumber == 1), self.data.targetEnnemies end function EnnemyAction:startAction() core.debug:print("cbs/action", "Starting flee action") self:loadChoregraphyFromSkill(self.data) end function EnnemyAction:getData() return self.data end return EnnemyAction