summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-22 17:25:33 +0200
committerAki <nthirtyone@gmail.com>2016-05-22 17:25:33 +0200
commitec09c7e57faa9388f8309e335a04113dc82021c3 (patch)
tree908d8be8089aecf85eb3f14560db88cce22952a9
parent899747e5f4804c4ea6f894939a12da569aeef676 (diff)
downloadroflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.zip
roflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.tar.gz
roflnauts-ec09c7e57faa9388f8309e335a04113dc82021c3.tar.bz2
Combo limit changed to 200x
-rw-r--r--player.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.lua b/player.lua
index 7eb5f53..e00fbce 100644
--- a/player.lua
+++ b/player.lua
@@ -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