Quote Originally Posted by Mariox View Post
hello, I have a problem with lua scripts, I copy them and re-write them in a notepad or notepad+ and do not work throw them back to the list
lua code:
function ManaPercent()
return math.abs(Self.Mana() / (Self.MaxMana() * 0.01))
end


Module.New('WasteMana', function(wmana)
if ManaPercent() >= 95 then -- Mana parcent if higher cast both spells.
Self.Cast('Utana Vid', 500)
wait(200)
Self.Cast('Exura Vita',160)
end
wmana:Delay(100)
end)