Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if @findobject 0x4003dc30
- while color 0x4003dc30 == 1175
- //playsound 'notify.wav'
- //pause 2000
- // playmacro 'v'
- if dead 'self'
- playmacro 'playsound'
- endif
- endwhile
- endif
- if not buffexists 'Gift Of Renewal' and timer 'gift' > 240000
- autotargetself
- while not buffexists 'Gift Of Renewal'
- cast 'Gift Of Renewal'
- waitfortarget 10000
- target 'self'
- endwhile
- endif
- if buffexists 'Gift of Renewal' and timer 'gift' > 120000
- settimer 'gift' 0
- endif
- if not timerexists 'gift'
- @createtimer 'gift'
- endif
- if not timerexists 'stoptimer'
- @createtimer 'stoptimer'
- endif
- if not timerexists 'walktimer'
- @createtimer 'walktimer'
- endif
- if mana > 100
- @unsetalias 'lastmana100'
- @unsetalias 'lastmana75'
- @unsetalias 'lastmana50'
- @unsetalias 'lastmana0'
- elseif mana > 75
- @unsetalias 'lastmana75'
- @unsetalias 'lastmana50'
- @unsetalias 'lastmana0'
- elseif mana > 50
- if findalias 'lastmana75' or findalias 'lastmana100'
- @unsetalias 'lastmana100'
- @unsetalias 'lastmana75'
- settimer 'stoptimer' 0
- endif
- @unsetalias 'lastmana50'
- @unsetalias 'lastmana0'
- else
- if findalias 'lastmana75' or findalias 'lastmana100'
- @unsetalias 'lastmana100'
- @unsetalias 'lastmana75'
- settimer 'stoptimer' 0
- endif
- if findalias 'lastmana50'
- @unsetalias 'lastmana50'
- settimer 'stoptimer' 0
- endif
- @unsetalias 'lastmana0'
- endif
- if dead 'self'
- playmacro 'playsound'
- endif
- if hits > 100
- if timer 'stoptimer' > 2000
- if mana > 100
- @setalias 'lastmana100' 'self'
- if not buffexists 'Arcane Empowerment' and mana > 45
- if hits > 80
- // cast 'Arcane Empowerment'
- endif
- endif
- if hits > 100 and poisoned 'self'
- cast 'Arch Cure' 'self'
- endif
- elseif mana > 75
- @setalias 'lastmana75' 'self'
- elseif mana > 50
- @setalias 'lastmana50' 'self'
- else
- @setalias 'lastmana0' 'self'
- endif
- if mana > 30
- if @findtype 0xa2 'any' 'world' 'any' 3
- cast 'Wither'
- elseif @findtype 0x95 'any' 'world' 'any' 3
- cast 'Wither'
- else
- cast 'Thunderstorm'
- endif
- endif
- else
- sysmsg 'Stop timer'
- if timer 'walktimer' > 15000 and hits > 100
- settimer 'walktimer' 0
- if not @findalias 'stopwalk'
- // playmacro 'tstormwalk'
- endif
- endif
- endif
- else
- if poisoned 'self' and hits > 80
- cast 'Thunderstorm'
- elseif poisoned 'self' and hits < 80
- usetype 0xf07
- //cast 'Arch Cure' 'self'
- else
- cast "Heal" 'self'
- endif
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement