注意: 必須先註冊才可以發表文章
quote:#automacro twobrew { #身上帶齊三種原料才開始 inventory "White Herb" > 0 inventory "Empty Potion Bottle" > 0 inventory "Medicine Bowl" > 0 #觸發巨集時,為了等待關倉動作完成,延後1秒再執行巨集 delay 1 call brew1 run-once 1}automacro threestorage { #只使用其中一個條件即可,看RO伺服器反應時間而定,有時會剩下藥缽,就要改成以白草為條件 #inventory "White Herb" < 1 #inventory "Empty Potion Bottle" < 1 inventory "Medicine Bowl" < 1 call storage run-once 1}macro storage { lock twobrew do autostorage do storage close release threestorage release twobrew pause 1}macro brew1 { do ss 228 10 pause 0.5 do send 8E 01 F8 01 00 00 00 00 00 00 #這個暫停2秒,讓鍊金回一點SP,避免做太快,SP不足 pause 2 #迴圈每隔0.2秒檢查白水是否已經在身上,有的話,就立刻放進手推車 $j = @eval(1 - 1) while ($j < 0.6) as tmpbrew1 log begin counting #RO伺服器反應慢的話,間隔秒數可以調大 pause 0.2 $i = @invamount(White Potion) if ($i > 0) goto tmpAdd $j = @eval($j + 0.2) end tmpbrew1 release twobrew stop:tmpAdd do cart add White Potion pause 0.5 release twobrew}##### Pharmacy Creation CODE : Credit to flakey of OpenKore Board ########## http://openkore.sourceforge.net/forum/viewtopic.php?t=5000 ########## send (code) after invoke "ss 228 10" only ... therefore Kore terminate !##### Red Potion = 8E 01 F5 01 00 00 00 00 00 00##### Yellow Potion = 8E 01 F7 01 00 00 00 00 00 00##### White Potion = 8E 01 F8 01 00 00 00 00 00 00##### Blue Potion = 8E 01 F9 01 00 00 00 00 00 00##### Adonyne = 8E 01 5D 02 00 00 00 00 00 00##### Aloevera = 8E 01 5E 02 00 00 00 00 00 00##### Red Slim = 8E 01 21 02 00 00 00 00 00 00##### Yellow Slim = 8E 01 22 02 00 00 00 00 00 00##### White Slim = 8E 01 23 02 00 00 00 00 00 00##### Alcohol = 8E 01 CA 03 00 00 00 00 00 00##### Fire Bottle = 8E 01 DF 1B 00 00 00 00 00 00##### Acid Bottle = 8E 01 E0 1B 00 00 00 00 00 00##### Plant Bottle = 8E 01 E1 1B 00 00 00 00 00 00##### Mine Bottle = 8E 01 E2 1B 00 00 00 00 00 00##### Coating Wax = 8E 01 E3 1B 00 00 00 00 00 00 #####火抵抗藥 = 8E 01 56 2F 00 00 00 00 00 00#####水抵抗藥 = 8E 01 57 2F 00 00 00 00 00 00#####地抵抗藥 = 8E 01 58 2F 00 00 00 00 00 00#####風抵抗藥 = 8E 01 59 2F 00 00 00 00 00 00
quote:getAuto White Herb { minAmount 0 maxAmount 200 passive 0}getAuto Empty Potion Bottle { minAmount 0 maxAmount 200 passive 0}getAuto Medicine Bowl { minAmount 0 maxAmount 200 passive 0}
quote:storageAuto_npc gonryun 159 122
quote:all 0 0 0 0 0#productsWhite Potion 0 2 0 1 1Red Potion 0 2 0 1 1Blue Potion 0 2 0 1 1Condensed White Potion 0 2 0 1 1Condensed Yellow Potion 0 2 0 1 1Alcohol 0 2 0 1 1Bottle Grenade 0 2 0 1 1#materialsScell 200 1 0Witch Starsand 200 1 0White Herb 200 1 0Red Herb 200 1 0Blue Herb 200 1 0Medicine Bowl 200 1 0Empty Potion Bottle 200 1 0Empty Test Tube 200 1 0#White Potion 200 1 0Poison Spore 1000 1 0Stem 1000 1 0Empty Bottle 200 1 0Fabric 200 1 0#Alcohol 200 1 0