summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--player.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/player.lua b/player.lua
index a0f189a..567f908 100644
--- a/player.lua
+++ b/player.lua
@@ -354,6 +354,7 @@ function Player:damage (horizontal, vertical)
self.body:applyLinearImpulse((32+12*self.combo)*horizontal, (68+10*self.combo)*vertical + 15)
self:changeAnimation("damage")
self.combo = math.min(20, self.combo + 1)
+ self.punchcd = 0.08
end
-- DIE