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

Enforce a minimun range of 15 on teleport scrolls

git-svn-id: http://svn.net-core.org/repos/t-engine4@1538 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3a3c063e
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ newEntity{ base = "BASE_SCROLL",
use_simple = { name="teleport you anywhere on the level, randomly", use = function(self, who)
game.level.map:particleEmitter(who.x, who.y, 1, "teleport")
who:teleportRandom(who.x, who.y, 200)
who:teleportRandom(who.x, who.y, 200, 15)
game.level.map:particleEmitter(who.x, who.y, 1, "teleport")
game.logSeen(who, "%s reads a %s!", who.name:capitalize(), self:getName{no_count=true})
return "destroy", true
......
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