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

21 lines
542 B
Lua
Raw Normal View History

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
2020-07-25 10:24:32 +02:00
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
2020-07-25 10:24:32 +02:00
self.choregraphy:sendDamage(power, type, element, isSpecial)
2020-07-25 10:24:32 +02:00
self:finish()
end
return SendDamage