diff options
author | Aki <nthirtyone@gmail.com> | 2016-06-21 19:37:17 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-06-21 19:37:17 +0200 |
commit | 80e72d08513297aa0fd151efbddc223d98f09846 (patch) | |
tree | b32af80be7fce61f84070f82f8edf2e7e645297f | |
parent | c825b4b1f8e4ee3800a63bb1011f43aaa3c32aab (diff) | |
download | roflnauts-80e72d08513297aa0fd151efbddc223d98f09846.zip roflnauts-80e72d08513297aa0fd151efbddc223d98f09846.tar.gz roflnauts-80e72d08513297aa0fd151efbddc223d98f09846.tar.bz2 |
Reminder that there should be stun implemented
-rw-r--r-- | player.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |