sonic-bluestreak/sonic-bluestreak.love/scenes/battlesystem/choregraphy/step/sendStatus.lua
2021-11-25 10:57:13 +01:00

17 lines
441 B
Lua

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
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