Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not findalias 'meta'
- headmsg 'Select Meta pet'
- promptalias 'meta'
- endif
- if not timerexists 'attack'
- createtimer 'attack'
- endif
- if not @findobject 'mob'
- @unsetalias 'mob'
- getenemy 'gray''closest'
- if @findobject 'enemy'
- @setalias 'mob' found
- msg 'all kill'
- target 'mob'
- endif
- endif
- if timer 'attack' > 10000
- msg 'all kill'
- target 'mob'
- settimer 'attack' 0
- endif
- if not @inrange 'meta' 1
- if @x 'meta' > x 'self' and @y 'meta' > y 'self'
- walk 'Southeast'
- elseif @x 'meta' < x 'self' and @y 'meta' > y 'self'
- walk 'Southwest'
- elseif @x 'meta' > x 'self' and @y 'meta' < y 'self'
- walk 'Northeast'
- elseif @x 'meta' < x 'self' and @y 'meta' < y 'self'
- walk 'Northwest'
- elseif @x 'meta' > x 'self' and @y 'meta' == y 'self'
- walk 'East'
- elseif @x 'meta' < x 'self' and @y 'meta' == y 'self'
- walk 'West'
- elseif @x 'meta' == x 'self' and @y 'meta' > y 'self'
- walk 'South'
- elseif @x 'meta' == x 'self' and @y 'meta' < y 'self'
- walk 'North'
- endif
- endif
- if not timerexists 'feed'
- createtimer 'feed'
- endif
- if timer 'feed' > 600000
- if @inrange 'meta' 1
- headmsg 'Feeding Meta!!!'
- pause 600
- feed 'meta' '0x9f1' 'any' '1'
- settimer 'feed' 0
- endif
- endif
- if hits 'meta' < 100
- elseif not @injournal! 'You begin applying the bandages' 'system'
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'You finish applying the bandages' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'You apply the bandages, but they barely help' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'You are able to resurrect the creature' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'You heal what little damage your patient had' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'You fail to resurrect the creature' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- elseif @injournal! 'That being is not damaged' 'system'
- @clearjournal!
- if inrange 'meta' 1
- bandage
- autotargetobject 'meta'
- endif
- pause 600
- else
- //@headmsg! 'Prior Bandage running'
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement