Skip to content
Snippets Groups Projects
Commit f18f93eb authored by dg's avatar dg
Browse files

Fixed boots of speed (removing them granted infinite movement speed)

git-svn-id: http://svn.net-core.org/repos/t-engine4@1435 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1493e19e
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ function _M:getTextualDesc()
if w.see_invisible then desc[#desc+1] = ("See invisible: %d"):format(w.see_invisible) end
if w.invisible then desc[#desc+1] = ("Invisibility: %d"):format(w.invisible) end
if w.movement_speed then desc[#desc+1] = ("Movement speed: %d%%"):format((1 - w.movement_speed) * 100) end
if w.movement_speed then desc[#desc+1] = ("Movement speed: %d%%"):format(w.movement_speed * 100) end
end
......
......@@ -624,7 +624,7 @@ end
--- Computes movement speed
function _M:combatMovementSpeed()
return self.movement_speed or 1
return 1 + (self.movement_speed or 0)
end
--- Check if the actor has a gem bomb in quiver
......
......@@ -51,7 +51,7 @@ newEntity{
rarity = 20,
cost = 60,
wielder = {
movement_speed = 0.8,
movement_speed = -0.2,
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment