From 80e72d08513297aa0fd151efbddc223d98f09846 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 21 Jun 2016 19:37:17 +0200 Subject: Reminder that there should be stun implemented --- player.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1