Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setability 'primary' 'on'
- pause 600
- getenemy 'enemy' 'criminal' 'gray' 'closest'
- if friend 'found' or infriendlist 'found'
- endif
- pause 600
- attack 'enemy'
- pause 600
- if poisoned 'self' and counttype 0xf07 0 'backpack' > 0
- usetype! '0xf07'
- endif
- //Author: Traxex
- //Lists
- @createlist 'config'
- @clearlist 'config'
- pushlist! 'config' 'enemy paralyze check'
- pushlist! 'config' 'display enemy status'
- pushlist! 'config' 'use bandages'
- pushlist! 'config' 'self paralyze check'
- pushlist! 'config' 'display self status'
- //Timers
- if not timerexists 'heal potion'
- settimer 'heal potion' 11250
- endif
- if not timerexists 'enchanted apple'
- settimer 'enchanted apple' 121250
- endif
- if not dead
- if usequeue == 0
- // Queued sequence
- if skill 'magery' < 50
- if stam <= 80
- // Refresh potion
- if not @usetype 0xf0b
- @feed 'self' 'any'
- endif
- endif
- elseif stam <= 14
- // Refresh potion
- if not @usetype 0xf0b
- @feed 'self' 'any'
- endif
- endif
- if poisoned 'self' and hits < 120
- // Cure potion
- @usetype 0xf07
- endif
- if buffexists 'evil omen'
- //poison to deal with evil omem
- @usetype 0xf0a
- endif
- if paralyzed 'self'
- //check paralyze fields around
- if not @findtype 0x3979 0 'ground' any 1
- //use inv pot to help paralyzed status
- usetype 0xf06 306 'backpack'
- endif
- endif
- if not yellowhits 'self'
- if timer 'heal potion' >= 11250
- if skill 'magery' < 50
- if diffhits >= 50
- // Heal potion
- if @usetype 0xf0c
- settimer 'heal potion' 0
- endif
- endif
- elseif diffhits >= 20
- // Heal potion
- if @usetype 0xf0c
- settimer 'heal potion' 0
- endif
- endif
- endif
- // Enchanted apple
- elseif timer 'enchanted apple' >= 121250
- if @usetype 0x2fd8
- settimer 'enchanted apple' 0
- endif
- endif
- // Strength potion
- if @findobject 'enemy' any 'ground' any 15
- if str < 140
- if @usetype 0xf09
- settimer 'strength potion' 0
- pause 600
- endif
- endif
- endif
- //Stamina enemy spoted
- if @findobject 'enemy' any 'ground' any 15
- if skill 'magery' < 50
- if stam <= 80
- // Refresh potion
- if not @usetype 0xf0b
- @feed 'self' 'any'
- endif
- endif
- elseif stam <= 14
- // Refresh potion
- if not @usetype 0xf0b
- @feed 'self' 'any'
- endif
- endif
- endif
- // Agility potion
- if @findobject 'enemy' any 'ground' any 15
- if dex < 140 and skill 'magery' < 50
- if @usetype 0xf08
- settimer 'agility potion' 0
- pause ¨600
- endif
- endif
- endif
- // Healing
- if @inlist 'config' 'use bandages' and skill 'healing' >= 80
- if not timerexists 'healing'
- createtimer 'healing'
- endif
- @unsetalias 'bandage'
- // Check healing delay
- if dex >= 140 and timer 'healing' >= 4500
- @setalias 'bandage' 'self'
- elseif dex >= 120 and timer 'healing' >= 5500
- @setalias 'bandage' 'self'
- elseif dex >= 100 and timer 'healing' >= 6500
- @setalias 'bandage' 'self'
- elseif dex >= 80 and timer 'healing' >= 7500
- @setalias 'bandage' 'self'
- elseif dex >= 60 and timer 'healing' >= 8500
- @setalias 'bandage' 'self'
- elseif dex >= 40 and timer 'healing' >= 9500
- @setalias 'bandage' 'self'
- elseif dex >= 20 and timer 'healing' >= 10500
- @setalias 'bandage' 'self'
- elseif timer 'healing' >= 11500
- @setalias 'bandage' 'self'
- endif
- // Apply bandage
- if @findalias 'bandage'
- if hits != maxhits
- if @usetype 0xe21 'any' 'backpack'
- autotargetself
- @settimer 'healing' 0
- endif
- endif
- endif
- endif
- endif
- // Enemy checks
- if @inrange 'enemy' 12 and not dead 'enemy'
- // Paralyze warmode toggle
- if @inlist 'config' 'enemy paralyze check' and paralyzed 'enemy'
- warmode 'on'
- warmode 'off'
- endif
- // Display enemy status
- if @inlist 'config' 'display enemy status'
- if not timerexists 'enemy status'
- createtimer 'enemy status'
- endif
- if timer 'enemy status' >= 500
- if paralyzed 'enemy'
- headmsg '* Paralyzed *' 110 'enemy'
- @setalias 'clear enemy status' 'enemy'
- elseif yellowhits 'enemy'
- headmsg '* Mortaled *' 55 'enemy'
- @setalias 'clear enemy status' 'enemy'
- elseif poisoned 'enemy'
- headmsg '* Poisoned *' 64 'enemy'
- @setalias 'clear enemy status' 'enemy'
- elseif @findalias 'clear enemy status'
- for 3
- headmsg '' 0 'enemy'
- endfor
- @unsetalias 'clear enemy status'
- endif
- @settimer 'enemy status' 0
- endif
- endif
- endif
- //Self Checks Display self status
- if paralyzed 'self'
- headmsg '* Paralyzed *' 110 'self'
- @setalias 'clear self status' 'self'
- elseif yellowhits 'self'
- headmsg '* Mortaled *' 55 'self'
- @setalias 'clear self status' 'self'
- elseif buffexists 'curse'
- headmsg '* Cursed *' 33 'self'
- @setalias 'clear self status' 'self'
- elseif poisoned 'self'
- headmsg '* Poisoned *' 64 'self'
- @setalias 'clear self status' 'self'
- elseif @findalias 'clear self status'
- for 3
- headmsg '' 0 'self'
- endfor
- @unsetalias 'clear self status'
- endif
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement