; Script Name: In Nox
; Author: xCrazy
; Version: 1.0
; Client Tested with: 3.0.0c inj
; EUO version tested with: 1.42 (build 0088, 008A)
; Injection version tested with: Yokoinjection 40?.? (AoP maps2.)
; Shard: Age of Power only
initevents
set %max_mana 120
set %max_hp 125
st:
if #hits < 60
gosub heal
if #mana < 10
gosub med
gosub cast
goto st

sub med
sm1:
event macro 13 46
wait 4s
if #mana < %max_mana
goto sm1
return

sub heal
sh1:
msg 'pc heal self$
wait 8s
if #hits < %max_hp
goto sh1
return

sub cast
event macro 15 19
target
event macro 23 0
wait 2s
return