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