2021-08-15 16:50:53 +02:00
|
|
|
local ActionParent = require "scenes.battlesystem.fighters.character.actions.parent"
|
2020-07-19 22:38:59 +02:00
|
|
|
local AttackAction = ActionParent:extend()
|
|
|
|
|
|
|
|
function AttackAction:new(fighter)
|
|
|
|
AttackAction.super.new(self, fighter)
|
|
|
|
end
|
|
|
|
|
|
|
|
function AttackAction:needTarget()
|
|
|
|
return true, true
|
|
|
|
end
|
|
|
|
|
|
|
|
function AttackAction:startAction()
|
|
|
|
core.debug:print("cbs/action", "Starting attack action")
|
2020-07-24 19:20:48 +02:00
|
|
|
self:loadChoregraphy("attack")
|
2020-07-19 22:38:59 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return AttackAction
|