04-27-2013, 03:44 PM
Não precisa de 3 macros. Da pra fazer tudo em 1 só:
DS:=3 É o numero de Dwarf Soldier, altere como necessário.
ALL:=5 É o numero total de criaturas, altere como necessário.
Code:
500 {FS to WOI by C} DS:=3 ALL:=5 ID1:=3280 ID2:=3071 BP:=0 Players:=Creatures.PlayersOnScreen() Cria:=Creatures.ByRange(9) Criatu:=!Cria! VarSub(Criatu, !Players!) Creatures.ByName(Dwarf Soldier)>=!DS! [if] Self.Inventory.LeftHand()<>!ID2! Self.UnEquip.LeftHand(!BP!) Macro.Wait(100) Self.Equip.LeftHand(!ID2!) Exit() {if} !Criatu!>=!ALL! [if2] Self.Inventory.LeftHand()<>!ID2! Self.UnEquip.LeftHand(!BP!) Macro.Wait(100) Self.Equip.LeftHand(!ID2!) Exit() {if2} Self.Inventory.LeftHand()<>!ID1! Self.UnEquip.LeftHand(!BP!) Macro.Wait(100) Self.Equip.LeftHand(!ID1!) Exit()
DS:=3 É o numero de Dwarf Soldier, altere como necessário.
ALL:=5 É o numero total de criaturas, altere como necessário.