Monday, March 17, 2008

Refine Macros

Nie macro refine/macro buat nempa... Kegagalan dalam menempa jgn salah kan bot ato saya.... karena biar bagaimana pun menempa tetap membutuh kan ke ho-q an dari char kamu...

automacro check_inventory {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon < upgradeon =" 1"> 0
equipped Sword [3]
call do_upgrade
}

automacro check_equip1 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +1 Sword [3]
call do_upgrade
}

automacro check_equip2 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +2 Sword [3]
call do_upgrade
}

automacro check_equip3 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +3 Sword [3]
call do_upgrade
}


automacro check_equip4 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +4 Sword [3]
call do_upgrade
}


automacro check_equip5 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +5 Sword [3]
call do_upgrade
}

automacro check_equip6 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +6 Sword [3]
call do_upgrade
}

automacro check_equip7 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +7 Sword [3]
call do_overupgrade
}

automacro check_equip8 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +8 Sword [3]
call do_overupgrade
}

automacro check_equip9 {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
equipped +9 Sword [3]
call do_overupgrade
}

automacro check_equipnone {
var upgradeon = 1
location prt_in 54 63 57 59
inventory Phracon > 0
inventory "Sword [3]" > 0
equipped not Sword [3]
equipped not +1 Sword [3]
equipped not +2 Sword [3]
equipped not +3 Sword [3]
equipped not +4 Sword [3]
equipped not +5 Sword [3]
equipped not +6 Sword [3]
equipped not +7 Sword [3]
equipped not +8 Sword [3]
equipped not +9 Sword [3]
call equip_item
}

macro equip_item {
eq Sword [3]
@pause 2
}

macro do_upgrade {
talk @npc (63 60)
@pause 1
talk cont
@pause 1
talk resp 3
@pause 1
talk cont
@pause 1
talk resp 0
@pause 1
}

macro do_overupgrade {
talk @npc (63 60)
@pause 1
talk cont
@pause 1
talk resp 3
@pause 1
talk cont
@pause 1
talk resp 0
@pause 1
talk cont
@pause 1
talk cont
@pause 1
talk resp 0
@pause 1
}

No comments: