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

14 lines
392 B
Lua
Raw Normal View History

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local SetCounterStep = StepParent:extend()
function SetCounterStep:new(system, args)
SetCounterStep.super.new(self, system, args)
end
function SetCounterStep:start()
self.choregraphy:setCounter(self.arguments.counterName, self.arguments.number, self.arguments.relative)
self:finish()
end
return SetCounterStep