Alchemy<br/> |
|
<div class="codeblock"> |
|
<div class="title">Code:<br/> |
|
<><div class="body" dir="ltr"><code>////////////////////////////////////<br/> |
|
// This macro is designed for //<br/> |
|
// training alchemy from 30. Have //<br/> |
|
// 5 empty kegs on you and a lot //<br/> |
|
// of mortars and pestals. This //<br/> |
|
// macro only makes PVP worthy //<br/> |
|
// potions to minimize waste. //<br/> |
|
// //<br/> |
|
// Turn on loop and click play! //<br/> |
|
// //<br/> |
|
// ~~Made by kdivers~~ //<br/> |
|
////////////////////////////////////<br/> |
|
if skill 'alchemy' < 60 and not @findobject 'TR'<br/> |
|
headmsg 'Select Total Refresh Keg'<br/> |
|
promptalias 'TR'<br/> |
|
endif<br/> |
|
if skill 'alchemy' < 70 and not @findobject 'GA'<br/> |
|
headmsg 'Select Greater Agility Keg'<br/> |
|
promptalias 'GA'<br/> |
|
endif<br/> |
|
if skill 'alchemy' < 80 and not @findobject 'GS'<br/> |
|
headmsg 'Select Greater Strength Keg'<br/> |
|
promptalias 'GS'<br/> |
|
endif<br/> |
|
if skill 'alchemy' < 90 and not @findobject 'GH'<br/> |
|
headmsg 'Select Greater Heal Keg'<br/> |
|
promptalias 'GH'<br/> |
|
endif<br/> |
|
if skill 'alchemy' < 100 and not @findobject 'GC'<br/> |
|
headmsg 'Select Greater Cure Keg'<br/> |
|
promptalias 'GC'<br/> |
|
endif<br/> |
|
if skill 'alchemy' < 30<br/> |
|
headmsg 'Buy more skill!'<br/> |
|
stop<br/> |
|
elseif skill 'alchemy' < 60<br/> |
|
if usetype 0xe9b 0x0 'backpack'<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 1<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 9<br/> |
|
waitforgump 0x38920abd 2000<br/> |
|
endif<br/> |
|
if @findtype 0xf0b 0x0 'backpack'<br/> |
|
moveitem 'found' 'TR'<br/> |
|
pause 600<br/> |
|
endif<br/> |
|
elseif skill 'alchemy' < 70<br/> |
|
if usetype 0xe9b 0x0 'backpack'<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 8<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 9<br/> |
|
waitforgump 0x38920abd 2000<br/> |
|
endif<br/> |
|
if @findtype 0xf08 0x0 'backpack'<br/> |
|
moveitem 'found' 'GA'<br/> |
|
pause 600<br/> |
|
endif<br/> |
|
elseif skill 'alchemy' < 80<br/> |
|
if usetype 0xe9b 0x0 'backpack'<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 29<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 9<br/> |
|
waitforgump 0x38920abd 2000<br/> |
|
endif<br/> |
|
if @findtype 0xf09 0x0 'backpack'<br/> |
|
moveitem 'found' 'GS'<br/> |
|
pause 600<br/> |
|
endif<br/> |
|
elseif skill 'alchemy' < 90<br/> |
|
if usetype 0xe9b 0x0 'backpack'<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 22<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 16<br/> |
|
waitforgump 0x38920abd 2000<br/> |
|
endif<br/> |
|
if @findtype 0xf0c 0x0 'backpack'<br/> |
|
moveitem 'found' 'GH'<br/> |
|
pause 600<br/> |
|
endif<br/> |
|
elseif skill 'alchemy' < 100<br/> |
|
if usetype 0xe9b 0x0 'backpack'<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 43<br/> |
|
waitforgump 0x38920abd 15000<br/> |
|
replygump 0x38920abd 16<br/> |
|
waitforgump 0x38920abd 2000<br/> |
|
endif<br/> |
|
if @findtype 0xf07 0x0 'backpack'<br/> |
|
moveitem 'found' 'GC'<br/> |
|
pause 600<br/> |
|
endif<br/> |
|
else<br/> |
|
headmsg 'Alchemy complete!'<br/> |
|
stop<br/> |
|
endif</code><><> |