sonic-bluestreak/sonic-bluestreak.love/scenes/battlesystem/choregraphy/step/sendDamage.lua

21 lines
542 B
Lua
Raw Permalink Normal View History

2021-11-25 10:57:13 +01:00
local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local SendDamage = StepParent:extend()
local maputils = require "scenes.battlesystem.utils"
function SendDamage:new(system, args)
SendDamage.super.new(self, system, args)
end
function SendDamage:start()
local power = self.arguments.power
local isSpecial = self.arguments.isSpecial
local type = self.arguments.type
local element = self.arguments.element
self.choregraphy:sendDamage(power, type, element, isSpecial)
self:finish()
end
return SendDamage