View Full Version : stop walker when x% mana
jardy
08-07-2016, 08:52 PM
need this for do a script lvl low
Y2Quake
08-10-2016, 05:38 AM
not perfect but something i made quickly:
local manaToPauseWalker = 50 -- Mana
local timeToWait = 1000 -- Change this to your wait time
Self.ManaPercent = function ()
return math.abs(Self.Mana() / (Self.MaxMana() * 0.01))
end
Module.New('pauseWalker', function()
if (Self.ManaPercent() < manaToPauseWalker) then
Walker.Delay(timeToWait)
end
end)
It will essentially pause the walker until your mana hits whatever variable ammount you set, default in this case is 50
yazouabu99
06-07-2021, 11:53 PM
Seems really balanced. It's a little bit better than a modal spell with the +1 and -1 as options, but it can't be used with the usual shenanigans a la Snapcaster.
Tutuapp (https://tutuapp.uno/) 9Apps (https://9apps.onl//) Showbox (https://showbox.kim/)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.