2019-03-13 04:15:41 +00:00
|
|
|
local stage, players, objects, projectiles, act, images = ...
|
|
|
|
return {
|
|
|
|
info = {
|
|
|
|
name = "LifeSword",
|
|
|
|
description = "Slash 2x3 area with devastating power!",
|
|
|
|
cooldown = {
|
|
|
|
shoot = 6,
|
|
|
|
move = 5
|
|
|
|
}
|
|
|
|
},
|
|
|
|
logic = function(info)
|
|
|
|
|
2019-03-13 21:05:50 +00:00
|
|
|
act.stage.setDamage(info.x + info.direction, info.y - 1, 400, info.owner, 1)
|
|
|
|
act.stage.setDamage(info.x + info.direction * 2, info.y - 1, 400, info.owner, 1)
|
|
|
|
act.stage.setDamage(info.x + info.direction, info.y, 400, info.owner, 1)
|
|
|
|
act.stage.setDamage(info.x + info.direction * 2, info.y, 400, info.owner, 1)
|
|
|
|
act.stage.setDamage(info.x + info.direction, info.y + 1, 400, info.owner, 1)
|
|
|
|
act.stage.setDamage(info.x + info.direction * 2, info.y + 1, 400, info.owner, 1)
|
2019-03-13 04:15:41 +00:00
|
|
|
|
|
|
|
return false
|
|
|
|
end
|
2019-03-13 21:05:50 +00:00
|
|
|
}
|