Log in

View Full Version : Terramites Ankrahmun [Paladin] ( refill r.s. and h.p.)



konikito
02-27-2016, 20:21
Start waypoints on ankrahmun terramites cave.

If less than 20 h.p. , go to buy 50 h.p. and refill spears.
If less than 8 royal spear, go to refill spears and pots.

----------------------------------------------------------------

#
#How many pots do you want to bring
fastExiva _pots = 50
#ItemID of the pots
fastExiva _potid = 0A 01
#Price of pots
fastExiva _potprice = 45
#Empty pots ID
fastExiva _emptypotid = 1D 01
#
##Loot
#
###Target
setMeleeKill Terramite
#
###Waypoints
move 33103,32698,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33103,32681,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33095,32686,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33096,32696,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33096,32709,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33080,32706,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33063,32693,8
move 33061,32693,7
move 33053,32693,7
move 33051,32693,8
move 33032,32692,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33025,32692,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33018,32681,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33010,32683,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33004,32688,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 32998,32689,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33000,32698,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33001,32711,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 32990,32707,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 32980,32697,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 32980,32686,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 32997,32697,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33015,32706,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33021,32707,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33026,32698,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank2$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank2$
move 33051,32693,8
move 33053,32693,7
move 33061,32693,7
move 33063,32693,8
move 33081,32693,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33090,32696,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
move 33104,32698,8
IfTrue ($countitems:{$_potid$}$#number<=#20) Goto $nlineoflabel:ank1$
IfTrue ($countitems:D2 1C$#number<=#8) Goto $nlineoflabel:ank1$
gotoScriptLine 0
###
#
#
:ank2
move 33026,32692,8
move 33026,32692,8
move 33051,32693,8
move 33053,32693,7
move 33061,32693,7
move 33063,32693,8
:ank1
move 33102,32698,8
move 33102,32698,8
move 33102,32698,8
move 33102,32698,8
move 33103,32698,8
move 33103,32698,8
move 33103,32698,8
move 33103,32698,8
move 33103,32698,8
move 33103,32699,7
move 33103,32699,7
move 33153,32760,7
move 33153,32761,7
move 33153,32763,6
move 33153,32765,6
move 33153,32767,7
move 33133,32803,7
move 33133,32804,7
move 33133,32806,6
move 33132,32820,6
move 33132,32820,6
waitX 1
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 1
sayInTrade yes
waitX 1
sayInTrade withdraw $numericalexp:{$numericalexp:{$numericalexp:{$_pot s$}-{$countitems:{$_potid$}$}$}*{$_potprice$}$}-{$numericalexp:{$countitems:{$_emptypotid$}$}*5$}$
waitX 1
sayInTrade yes
waitX 1
sayInTrade Balance
sayInTrade Bye
waitX 1
move 33132,32820,6
move 33131,32817,6
move 33131,32815,5
move 33132,32813,5
waitX 1
sayMessage hi
waitX 1
sayInTrade vial
waitX 1
sayInTrade yes
waitX 1
sayInTrade trade
waitX 1
#Potion buyer
fastExiva sell:$_emptypotid$:$countitems:{$_emptypotid$}$
waitX 1
fastExiva buy:$_potid$:$numericalexp:{$_pots$}-{$countitems:{$_potid$}$}$
fastExiva buy:$_potid$:$numericalexp:{$_pots$}-{$countitems:{$_potid$}$}$
sayInTrade Bye
move 33132,32813,5
move 33131,32815,5
move 33131,32817,6
move 33132,32820,6
move 33132,32820,6
waitX 1
sayMessage hi
waitX 1
fastExiva _spearneed = $numericalexp:{$mycap$}/2500$
fastExiva _spearcount = $numericalexp:{$_spearneed$}-3$
fastExiva _spearcost = $numericalexp:{$_spearcount$}*15$
waitX 1
sayInTrade withdraw $_spearcost$
sayInTrade yes
waitX 1
move 33132,32820,6
move 33137,32818,6
move 33139,32818,7
move 33144,32811,7
move 33146,32811,6
move 33151,32810,6
move 33151,32808,5
move 33150,32809,5
move 33149,32808,4
move 33153,32809,4
move 33153,32809,4
waitX 1
sayMessage hi
waitX 1
sayInTrade trade
waitX 1
fastExiva > 07 00 7A D2 1C 00 $numbertohex2:{$_spearcount$}$ 00
waitX 1
move 33153,32809,4
move 33150,32809,4
move 33149,32810,5
move 33151,32810,5
move 33151,32810,6
move 33148,32807,6
move 33148,32805,7
move 33153,32767,7
move 33152,32765,6
move 33151,32762,6
move 33151,32762,6
move 33152,32761,7
move 33153,32761,7
move 33106,32728,7
move 33103,32699,7
move 33103,32699,7
useItem 33103,32699,7
move 33103,32698,8
move 33103,32698,8
gotoScriptLine 0
#



-----------------------------------------------------------------------------------