|
Post by Experience on Feb 5, 2016 6:23:45 GMT
if not @findobject 'Weapon' promptalias 'Weapon' endif //Cure
if poisoned 'self' and hits 'self' < 90
if @findtype '0xf07' '0' 'backpack' 'any' '3'
clearhands 'both'
pause 800
usetype '0xf07' '0' 'backpack' '3'
pause 800
equipitem 'Weapon' '2' //For 1 handed weapons change this number to 1 pause 800
else
sysmsg 'Out of Cures...'
cast 'cure' 'self'
pause 1500
endif
endif
//Heal
if hits 'self' < 50
if @findtype '0xf0c' '0' 'backpack' 'any' '3'
clearhands 'both'
pause 800
usetype '0xf0c' '0' 'backpack' '3'
pause 800
equipitem 'Weapon' '2'
pause 800
else
sysmsg 'Out of Heals...'
cast 'heal' 'self'
pause 1500
endif
endif
//Refresh
if stam < 70
if @findtype '0xf0b' '0' 'backpack' 'any' '3'
clearhands 'both'
pause 800
usetype '0xf0b' '0' 'backpack' '3'
pause 800
equipitem 'Weapon' '2'
pause 800
else
sysmsg 'Out of Refresh...'
endif
endif
//Strength
if str <= 100
if @findtype '0xf09' '0' 'backpack' 'any' '3'
clearhands 'both'
pause 800
usetype '0xf09' '0' 'backpack' '3'
pause 800
equipitem 'Weapon' '2'
pause 800
else
sysmsg 'Out of Str Pots...'
endif
endif
//Dex
if dex <= 100
if @findtype '0xf08' '0' 'backpack' 'any' '3'
clearhands 'both'
pause 800
usetype '0xf08' '0' 'backpack' '3'
pause 800
equipitem 'Weapon' '2'
pause 800
else
sysmsg 'Out of Agility Pots...'
endif
endif
|
|