sonic-radiance/sonic-radiance.love/scenes/battlesystem/choregraphy/step/sendStatus.lua

18 lines
441 B
Lua
Raw Normal View History

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
2021-08-08 16:00:45 +02:00
local SendStatus = StepParent:extend()
function SendStatus:new(system, args)
SendStatus.super.new(self, system, args)
end
function SendStatus:start()
local status = self.arguments.status
local force = self.arguments.force
local duration = self.arguments.duration
self.choregraphy:sendStatus(status, duration, force)
self:finish()
end
return SendStatus