18 lines
421 B
Lua
18 lines
421 B
Lua
|
local ActionParent = require "scenes.battlesystem.controllers.fighters.systems.actions.parent"
|
||
|
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")
|
||
|
self:finishAction()
|
||
|
end
|
||
|
|
||
|
return AttackAction
|