-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathauto_Swoop.py
35 lines (28 loc) · 1.07 KB
/
auto_Swoop.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from System.Collections.Generic import List
from System import Byte
filter = Mobiles.Filter()
filter.Enabled = True
filter.RangeMax = 20
filter.Notorieties = List[Byte](bytes([3,4]))
while True:
last_enemy = None
if Player.WarMode:
Player.SetWarMode(False)
enemies = Mobiles.ApplyFilter(filter)
Mobiles.Select(enemies,'Nearest')
for enemy in enemies:
if not Player.HasSpecial:
if enemy.Name == "Swoop" and enemy.Hits == enemy.HitsMax:
if not Player.BuffsExist("Invisibility"):
Target.Cancel()
Spells.CastMagery("Invisibility")
Target.WaitForTarget(3000, False)
Target.Self()
Misc.Pause(50)
if Player.BuffsExist("Invisibility"):
Player.Attack(enemy)
Target.ClearLast()
Misc.Pause(10000)
if Player.WarMode:
Player.SetWarMode(False)
Misc.Pause(1000)