BBot - The best bot of the world
Energy Ring + Dragons - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Energy Ring + Dragons (/thread-7914.html)



Energy Ring + Dragons - dmludke - 10-26-2013

Hello!

I need a macro to do this:


Equip Energy Ring (3051) when are 3 or more Dragons in the screen
and
Remove Energy Ring (3088 = ID ON) when are only 2 Dragon alive.



Thanks!


RE: Energy Ring + Dragons - JeshuaStep - 10-26-2013

1000 {ring} D:=Creatures.OnScreen() !D!==3 Self.Equip.Ring(3051)
1000 {unring} D:=Creatures.OnScreen() !D!==2 Self.UnEquip.Ring(0) (3051)

Try this it will works Smile


RE: Energy Ring + Dragons - Kimoszin - 10-27-2013

[macro]1200 {Equip/Unequip Ring} ID:=3051 ID_ON:=3088 MONSTER_COUNT:=3 Creatures.ByName(Dragon)>=!MONSTER_COUNT! [else] Self.Inventory.Ring()<>!ID_ON! Self.Equip.Ring(!ID!) Exit() {else} Self.Inventory.Ring()==!ID_ON! Self.UnEquip.Ring(0)[/macro]


RE: Energy Ring + Dragons - dmludke - 10-27-2013

Thanks "JeshuaStep" and "Kimoszin"

I tried to make a macro and it works

Here it is:

1000 {RingDragonOn} Creatures.ByName(Dragon)>=3 Self.Equip.Ring(3051)
1000 {RingDragonOff} Creatures.ByName(Dragon)<=2 Self.UnEquip.Ring(1)



Thanks for the help! Wink


RE: Energy Ring + Dragons - Tibia Logistics - 11-21-2013

these macros do not work, as well, I've tested the example on the wiki's sample macro list, it does not work. These macros do 1 of 2 outcomes, 1) places the energy ring and leaves it on, or, 2) removes and replaces the ring over and over agnai.