Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attack monsters when 2 or more
#8
(12-28-2016, 10:32 PM)leonel13jaime Wrote: ok ok, i try but i dont understand how to modific the macro to allow char atack two diferenet mobs....

Plx can u add crystal spider and ice golem to macro?? and timer too? Smile god will be compensate u in close future for sure... Big Grin thx in advance

Ps sorry my poor english skill


[macro]500 {Lure}
mob1:=Creatures.ByRangeName(8, Crystal Spider)
mob2:=Creatures.ByRangeName(8, Ice Golem)
mob3:=Creatures.ByRangeName(8, Ice Witch)
mob4:=Creatures.ByRangeName(8, Just Put Another Name Here)
mobs:=!mob1!
VarAdd(mobs, !mob2!)
VarAdd(mobs, !mob3!)
VarAdd(mobs, !mob4!)
!mobs!>=2 [zabij]
Killer.Start()
HUD.Print(2, 1, 200, 222, 250, 500, Attack)
Exit()
{zabij}
!mobtime!>=8 [zabij2]
Killer.Start()
HUD.Print(2, 1, 200, 222, 250, 500, Attack)
exit()
{zabij2}
Killer.Stop()
HUD.Print(2, 1, 200, 222, 250, 500, Lure)
Exit()
[/macro]

[macro]500 {mobtimer}
mon1:=Creatures.ByRangeName(8, Crystal Spider)
mon2:=Creatures.ByRangeName(8, Ice Golem)
mon3:=Creatures.ByRangeName(8, Ice Witch)
mon4:=Creatures.ByRangeName(8, Just Put Another Name Here)
mons:=!mon1!
VarAdd(mons, !mon2!)
VarAdd(mons, !mon3!)
VarAdd(mons, !mon4!)
!mobbs!>=1 [ad]
VarAdd(mobtime, 1)
exit()
{ad}
mobtime:=0
exit()[/macro]


Messages In This Thread
Attack monsters when 2 or more - by halucyfer - 10-15-2016, 10:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)