17 lines
423 B
Lua
17 lines
423 B
Lua
local ActionParent = require "scenes.battlesystem.controllers.fighters.systems.actions.parent"
|
|
local DefendAction = ActionParent:extend()
|
|
|
|
function DefendAction:new(fighter)
|
|
DefendAction.super.new(self, fighter)
|
|
end
|
|
|
|
function DefendAction:needTarget()
|
|
return false, false
|
|
end
|
|
|
|
function DefendAction:startAction()
|
|
core.debug:print("cbs/action", "Starting defend action")
|
|
self:finishAction()
|
|
end
|
|
|
|
return DefendAction
|