RO.openkore.¥¨¶° ¯«©x¡Bªª®v»s§@¸t¤ô¡A¦Û°Ê¦s¨úÜ¡A¥þ³¡§¹¦¨¡A©ñµ¼Ö´£¿ô
¤Hª«©ñ¦bprt_fild05 (¤¤¥¡¦èªù¥~)¡A©Î¬Oªþªñ¦a¹Ï¡A¤¤¥¡¥ç¥i¡A¦o·|¦Û¤v¨«¹L¥h¡C¤£»Ý«ü©w¸Ë³Æ¡Aª`·Nt«¶q§Y¥i¡C
config.txt¤£»Ýn³]©w¡C
¤Hª«¶i¤J«á¡AÁä¤J¡Gmacro getHoly ¡Aµ¥µ¼ÖÅT°_¡A§¹¦¨¦¬¤u¡C
macros.txt quote:
#prt_fild05 macro getHoly { $ore = Empty Bottle $water = Holy Water
:start do move 96 169 prt_fild05 pause 1 goto start2
:start2 #§PÂ_¨¤W¦³§_ªÅ²~ if (@invamount($ore) < 1) goto MyEnd #§PÂ_SP¤£¨¬®É¡A¦Û°Ê§äNPC¦^´_SP¡A¨pªA¾A¥Î if ($.sp < 100 ) goto talkPPP #¶}©l°µ¤ô do ss 31 1 pause 1 goto start2
:talkPPP #do move @rand (193, 198) @rand (151, 157) #pause 2 #do talknpc 192 150 c r0 c do sit pause 120 goto start
:MyEnd ¦s¨úÜ®w do move @rand (287, 293) @rand (220, 228) pause 2 do talknpc 290 224 c r1 n pause 2 while (@invamount($water) > 0) as MyLoop2 do storage add @inventory($water) pause 1 end MyLoop2 if (@storamount($ore) <= 0) goto TotalEnd #¨C¦¸¨ú¥X250ªÅ²~ do storage get @storage($ore) 250 do storage close log store OK call getHoly
:TotalEnd log Holy Water completed!! OK! do eval Utils::Win32::playSound('C:\Windows\media\tada.wav'); pause 5 }
|