BBot - The best bot of the world
Wear Stealth Ring when.. - 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: Wear Stealth Ring when.. (/thread-16852.html)



Wear Stealth Ring when.. - Seeken - 12-11-2014

Hello Fellas!


Any1 have idea how to make macro to wear Stealth Rings when Corym Sharlatan or Corym Skirmisher or Corym Vanguard at screen?

I mean, 3 mosters at screen but only one of those, it can be in same time at screen 1 Sharlatan, 1 Skirmisher, 1 Vanguard.


RE: Wear Stealth Ring when.. - mr. Kris - 12-11-2014

Code:
500 {stealth ring} ring:=3049 Creatures.ByName(Corym Sharlatan) [jump] Self.Equip.Ring(!ring!) Exit() {jump} Creatures.ByName(Corym Skirmisher) [jump2] Self.Equip.Ring(!ring!) Exit() {jump2} Creatures.ByName(Corym Vanguard) [jump3] Self.Equip.Ring(!ring!) Exit() {jump3} Exit()



RE: Wear Stealth Ring when.. - Seeken - 12-11-2014

(12-11-2014, 01:00 PM)mr. Kris Wrote:
Code:
500 {stealth ring} ring:=3049 Creatures.ByName(Corym Sharlatan) [jump] Self.Equip.Ring(!ring!) Exit() {jump} Creatures.ByName(Corym Skirmisher) [jump2] Self.Equip.Ring(!ring!) Exit() {jump2} Creatures.ByName(Corym Vanguard) [jump3] Self.Equip.Ring(!ring!) Exit() {jump3} Exit()

Nope, it's not working, hes wearing Stealth Ring all the time, also it should be when monsters>3


RE: Wear Stealth Ring when.. - damiansnk - 12-11-2014

I had that idea idk will be work

Cre:=Creature.ByName(Corym Sharlatan)
Cre:=Creature.ByName(Corym Vanguard)
Cre:=Creature.ByName(Corym Skirmisher)
Creatures.ByName(!Cre!)>=3
Self.Equip.Ring(3049)


RE: Wear Stealth Ring when.. - Seeken - 12-11-2014

Trying something like that, but its not working.... Dunno whats goind on, Debug says thats [False] Creatures.OnScreen(!Cre!)>=3

PHP Code:
unEQUIPRING:=3049
EQUIPRING
:=3086
Cre
:=Creature.ByName(Corym Sharlatan) [else]
Cre:=Creature.ByName(Corym Vanguard) [else]
Cre:=Creature.ByName(Corym Skirmisher) [else]
Creatures.OnScreen(!Cre!)>=3
Self
.Equip.Ring(3049) [else]
Self.Inventory.Ring()<>!EQUIPRING!
Self.Equip.Ring(!unEQUIPRING!)
Exit()
{else} 
Self.Inventory.Ring()==!EQUIPRING!
Self.UnEquip.Ring(0


Could some1 help me?


RE: Wear Stealth Ring when.. - damiansnk - 12-11-2014

IDK it's working or not on other bot is work
Creatures.ByName(Name, name)

How many creatures atacked you in last 2 sec
Misc.AttackersCount(2)>=3

How many hp u lost in last 2 sec
Misc.HPHitsBigger(2, how many hp lost)

how many creatures around you (including players)
Creatures.Beside()>=3

how many creatures 2 sqm from u (including players)
Creatures.ByRange(2)>=3


RE: Wear Stealth Ring when.. - mr. Kris - 12-12-2014

omg I forgot:

Code:
500 {stealth ring} ring:=3049 Creatures.ByName(Corym Sharlatan)>=1 [jump] Self.Equip.Ring(!ring!) Exit() {jump} Creatures.ByName(Corym Skirmisher)>=1 [jump2] Self.Equip.Ring(!ring!) Exit() {jump2} Creatures.ByName(Corym Vanguard)>=1 [jump3] Self.Equip.Ring(!ring!) Exit() {jump3} Exit()

now must be good Tongue