diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-22 17:25:33 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-22 17:25:33 +0200 |
commit | ec09c7e57faa9388f8309e335a04113dc82021c3 (patch) | |
tree | 908d8be8089aecf85eb3f14560db88cce22952a9 | |
parent | 899747e5f4804c4ea6f894939a12da569aeef676 (diff) | |
download | roflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.zip roflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.tar.gz roflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.tar.bz2 |
Combo limit changed to 200x
-rw-r--r-- | player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ function Player:damage (horizontal, vertical) self.body:setLinearVelocity(x,0) self.body:applyLinearImpulse((28+12*self.combo)*horizontal, (60+10*self.combo)*vertical + 15) self:changeAnimation("damage") - self.combo = math.min(10, self.combo + 1) + self.combo = math.min(20, self.combo + 1) end -- DIE |