-
Notifications
You must be signed in to change notification settings - Fork 0
/
fight.cmd
47 lines (40 loc) · 1.21 KB
/
fight.cmd
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
action goto TEARDOWN when [There is nothing else to face]
action goto WAIT when [You aren't close enough to attack]
action goto WAIT when [What are you trying to attack?]
action goto CAST[ Your formation of a targeting pattern around a]
action goto PREP_COMBAT_SPELL [closes to melee range on you!]
# You feel intense strain as you try to manipulate the mana streams to form this pattern
# A blood wolf gracefully trots into the area.
# closes to melee range on you!
PREP_COMBAT_SPELL:
match FIRST_SWING [^You begin to weave mana lines into a target pattern around]
match CAST [But you're already preparing a spell]
put target LB 10
pause
FIRST_SWING:
action math GOOD_STRIKE add 1 when [The cutlass lands a good strike]
put jab
waitfor roundtime
goto SECOND_SWING
SECOND_SWING:
put feint
waitfor roundtime
goto FIRST_SWING
CAST:
pause
put cast
waitfor roundtime
goto PREP_COMBAT_SPELL
WAIT:
ECHO * * *
ECHO Waiting for some action
ECHO * * *
match PREP_COMBAT_SPELL A blood wolf gracefully trots into the area.
match FIRST_SWING turns to face you
match PREP_COMBAT_SPELL begins to advance on you!
match FIRST_SWING ^You close to melee range on|You spin around|You turn to face a
matchwait
TEARDOWN:
put release
pause
goto WAIT