Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ash Vaccuum fishing mini-quest macros by Revok
- # Untested, may have some kind of bugs.
- automacro reachFishingSpot {
- location not mid_camp 61 135 68 129
- exclusive 1
- timeout 5
- call {
- do move mid_camp @rand(61,68) @rand(129,135)
- }
- }
- automacro startFishing {
- location mid_camp 61 135 68 129
- inventory "Pedaço de Peixe" < 20
- timeout 2
- run-once 1
- call {
- do eval configModify('autoTalkCont', '1', silent => 1);
- do talk @npc(75 135)
- }
- }
- # Ash Vaccuum fishing mini-quest macros by Revok
- # Untested, may have some kind of bugs.
- automacro storeFishes {
- location mid_camp 61 135 68 129
- inventory "Pedaço de Peixe" = 20
- exclusive 1
- call {
- do move mid_camp @rand(55, 60) @rand(120, 129)
- pause 1
- do talknpc 62 125 c r1 # Thx to megamemx45 for these talk codes.
- pause 2
- do storage add @inventory(Pedaço de Peixe)
- pause 1
- do storage close
- pause 1
- do move mid_camp @rand(61,68) @rand(129,135)
- release startFishing
- }
- }
- automacro fishingGotSomething {
- hook item_gathered
- save item
- call {
- log Peguei um $.hooksave0 :D/>
- release startFishing
- }
- }
- automacro fishingGotNothing {
- hook npc_talk_done
- save ID
- eval &Misc::getNPCName($::Macro::Data::varStack{'.hooksave0'}) =~ /Cardume/
- call {
- log Não pesquei nada :(/>
- release startFishing
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement