Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Rotate to exori vis
#1
i got 3 macros to rotate to exori vis but i wanna to attack and rotate to exori vis to monster witch least hp not random. Please help me to make it good

1:
{When X=1 move West}
!Delta.X==1 [When X=-1 move East]
Self.MoveW()
Exit()
{When X=-1 move East}
!Delta.X==-1 [Ouch]
Self.MoveE()
Exit()

2:
{When Y=-1 move South}
!Delta.Y==-1 [When Y=1 move North]
Self.MoveS()
Exit()
{When Y=1 move North}
!Delta.Y==1 [Ouch]
Self.MoveN()
Exit()

3:
Self.Attacking()==:True
Target.X:=Creature.X(:TargetID)
Target.Y:=Creature.Y(:TargetID)
Delta.X:=Sub(:X, !Target.X)
Delta.Y:=Sub(:Y, !Target.Y)
{Check if we arent on same X}
!Delta.X==0 [Check if we arent on same Y]
HUD.Display(We are sharing X)
Exit()
{Check if we arent on same Y}
!Delta.Y==0 [Need move]
HUD.Display(We are sharing Y)
Exit()
{Need move}
HUD.Display(Move !Delta.X !Delta.Y)
Misc.Random(0, 100)<50 [Move Vertically]
GoLabel(Move Horizontally)
{Move Vertically}
Macro.Run(Face Target: Move Vertically)
Exit()
{Move Horizontally}
Macro.Run(Face Target: Move Horizontally)
Exit()
Reply


Messages In This Thread
Random Rotate to exori vis - by opol - 10-12-2018, 12:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)