mirror of
https://github.com/LDDestroier/CC/
synced 2024-12-16 05:00:29 +00:00
23 lines
756 B
Plaintext
23 lines
756 B
Plaintext
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)
|
|
|
|
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)
|
|
|
|
return false
|
|
end
|
|
}
|