summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-06-21 19:37:17 +0200
committerAki <nthirtyone@gmail.com>2016-06-21 19:37:17 +0200
commit80e72d08513297aa0fd151efbddc223d98f09846 (patch)
treeb32af80be7fce61f84070f82f8edf2e7e645297f
parentc825b4b1f8e4ee3800a63bb1011f43aaa3c32aab (diff)
downloadroflnauts-80e72d08513297aa0fd151efbddc223d98f09846.zip
roflnauts-80e72d08513297aa0fd151efbddc223d98f09846.tar.gz
roflnauts-80e72d08513297aa0fd151efbddc223d98f09846.tar.bz2
Reminder that there should be stun implemented
-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