From 704bc994e1cf8154a84dc1c8e47cff347c0e0bbe Mon Sep 17 00:00:00 2001 From: Robbie Ferguson Date: Wed, 18 May 2016 18:52:26 -0400 Subject: [PATCH] Evade should be working perfectly now. Only thing left to do is make it so it doesn't spawn you inside rocks! For now you can to /tpj y 20 to recover ;) --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index d201d99..5f28c79 100644 --- a/init.lua +++ b/init.lua @@ -255,6 +255,7 @@ end -- Evade local function tpe(player) + minetest.chat_send_player(sender, "EVADE!") local mindistance = 4 local maxdistance = 15 local times = math.random(6,20) -- how many times to jump - minimum,maximum @@ -263,7 +264,7 @@ local function tpe(player) local isnegative = '' local distance = 0 local axis = '' - local iteration = 0.5 + local iteration = 0 for i = 1,times do -- do this every 1 second minetest.after(iteration,