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