mirror of
https://github.com/LDDestroier/CC/
synced 2024-11-14 13:54:52 +00:00
20 lines
484 B
Plaintext
20 lines
484 B
Plaintext
local stage, players, objects, projectiles, act, images = ...
|
|
return {
|
|
info = {
|
|
name = "FighterSword",
|
|
description = "Slash forwards 3 panels!",
|
|
cooldown = {
|
|
shoot = 8,
|
|
move = 4
|
|
}
|
|
},
|
|
logic = function(info)
|
|
|
|
act.stage.setDamage(info.x + info.direction, info.y, 100, info.owner, 1)
|
|
act.stage.setDamage(info.x + info.direction * 2, info.y, 100, info.owner, 1)
|
|
act.stage.setDamage(info.x + info.direction * 3, info.y, 100, info.owner, 1)
|
|
|
|
return false
|
|
end
|
|
}
|