-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDextome-FightBoss.py
65 lines (57 loc) · 1.71 KB
/
Dextome-FightBoss.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from System.Collections.Generic import List
from System import Byte
import clr
clr.AddReference('System.Speech')
from System.Speech.Synthesis import SpeechSynthesizer
global mystic
mystic = False
def ReadJournal():
global mystic
if Journal.Search('tidal wave'):
Journal.Clear()
say("Tidal")
if Journal.Search('regurgitates'):
Journal.Clear()
say("Regurgitate")
if Journal.Search('chasing flames'):
Journal.Clear()
say("flames")
if Journal.Search('burn!') or Journal.Search('BURN!'):
Journal.Clear()
say("burn")
if Journal.Search('mystic energy') or (mystic and not Timer.Check('blastcd')):
Journal.Clear()
say("mystic run")
mystic = True
Timer.Create('blastcd',17000)
Journal.Clear()
Misc.Pause(30)
if Journal.Search('summons flames'):
Misc.Beep()
Player.ChatSay(33, 'all follow me')
Misc.Pause(100)
Player.ChatSay(33, 'all follow me')
Journal.Clear()
if Journal.Search('summons dark flames'):
Misc.Beep()
Player.ChatSay(33, 'all follow me')
Misc.Pause(100)
Player.ChatSay(33, 'all follow me')
Journal.Clear()
if Journal.Search('shatters'):
Misc.Beep()
Player.ChatSay(33, 'all follow me')
Misc.Pause(100)
Player.ChatSay(33, 'all follow me')
Journal.Clear()
if Journal.Search('confused'):
Player.ChatSay(33, 'all guard me')
Misc.Pause(100)
Player.ChatSay(33, 'all guard me')
Journal.Clear()
def say(text):
spk = SpeechSynthesizer()
spk.Speak(text)
while True:
ReadJournal()
Misc.Pause(10)