SHOW:
|
|
- or go back to the newest paste.
1 | var skin_critters 1 | |
2 | ||
3 | goto analyze | |
4 | - | analyze_prepause: |
4 | + | analyze_pp: |
5 | - | pause |
5 | + | |
6 | analyze: | |
7 | - | matchre analyze_prepause ^\.\.\.wait |
7 | + | matchre analyze_pp ^\.\.\.wait |
8 | matchre analyze ^You fail to find any holes | |
9 | matchre analyze_weakness_check ^You reveal (a|an) (\w+) weakness | |
10 | matchre analyze_weakness_check ^Your analysis reveals (a|an) (\w+) opening | |
11 | matchre analyze_weakness_check_engage ^You must be closer | |
12 | matchre face_next ^Analyze what | |
13 | put analyze | |
14 | matchwait | |
15 | ||
16 | - | analyze_weakness_check_facenext_prepause: |
16 | + | analyze_weakness_check_facenext_pp: |
17 | - | pause |
17 | + | |
18 | analyze_weakness_check_facenext: | |
19 | - | matchre analyze_weakness_check_facenext_prepause ^\.\.\.wait |
19 | + | matchre analyze_weakness_check_facenext_pp ^\.\.\.wait |
20 | - | matchre analyze_weakness_check ^You turn to face |
20 | + | matchre analyze_weakness_check ^You turn to face |
21 | - | matchre analyze_weakness_check_facenext ^There is nothing else to face! |
21 | + | matchre analyze_weakness_check_facenext ^There is nothing else to face! |
22 | - | put face next |
22 | + | put face next |
23 | - | matchwait |
23 | + | |
24 | ||
25 | ||
26 | - | analyze_weakness_check_engage_prepause: |
26 | + | analyze_weakness_check_engage_pp: |
27 | - | pause |
27 | + | pause |
28 | analyze_weakness_check_engage: | |
29 | - | matchre analyze_weakness_check_engage_prepause ^\.\.\.wait |
29 | + | matchre analyze_weakness_check_engage_pp ^\.\.\.wait |
30 | - | matchre analyze_weakness_check_prepause ^You begin to advance |
30 | + | matchre analyze_weakness_check_pp ^You begin to advance |
31 | - | matchre analyze_weakness_check_prepause ^You are already advancing |
31 | + | matchre analyze_weakness_check_pp ^You are already advancing |
32 | - | matchre analyze_weakness_check ^You are already at melee |
32 | + | matchre analyze_weakness_check ^You are already at melee |
33 | - | matchre analyze_weakness_check_facenext ^What do you want to advance towards? |
33 | + | matchre analyze_weakness_check_facenext ^What do you want to advance towards? |
34 | - | put engage |
34 | + | put engage |
35 | - | matchwait |
35 | + | |
36 | - | analyze_weakness_check_prepause: |
36 | + | analyze_weakness_check_pp: |
37 | - | pause |
37 | + | |
38 | analyze_weakness_check: | |
39 | if $2!=massive && $2!=exceptional then goto analyze | |
40 | analyze_weakness_refresh: | |
41 | - | matchre analyze_weakness_check_prepause ^\.\.\.wait |
41 | + | matchre analyze_weakness_check_pp ^\.\.\.wait |
42 | matchre analyze_weakness_check ^You fail to find any holes | |
43 | matchre analyze_weakness_check_engage ^You must be closer | |
44 | matchre store_combo ^Armor reduction can be inflicted by landing (a|an) (.+)\. | |
45 | matchre store_combo ^Balance reduction can be inflicted upon the enemy by landing (a|an) (.+)\. | |
46 | matchre store_combo ^Balance reduction can be inflicted by landing (a|an) (.+)\. | |
47 | matchre store_combo ^A chance for a stun can be inflicted upon the enemy by landing (a|an) (.+)\. | |
48 | matchre store_combo ^A chance for a stun can be inflicted by landing (a|an) (.+)\. | |
49 | matchre face_next ^Analyze what | |
50 | put analyze | |
51 | matchwait | |
52 | ||
53 | store_combo: | |
54 | var combo_list $2 | |
55 | eval combo_list replacere("%combo_list","(, a |, an | and a | and an )","|") | |
56 | var combo_time $gametime | |
57 | echo combo_list is %combo_list | |
58 | goto do_combo_init | |
59 | - | face_next_prepause: |
59 | + | face_next_pp: |
60 | - | pause |
60 | + | |
61 | face_next: | |
62 | - | matchre face_next_prepause ^\.\.\.wait |
62 | + | matchre face_next_pp ^\.\.\.wait |
63 | - | put face next |
63 | + | put face next |
64 | - | matchwait 1 |
64 | + | matchwait 1 |
65 | goto analyze | |
66 | ||
67 | do_combo_init: | |
68 | - | counter set 0 |
68 | + | counter set 0 |
69 | - | goto do_combo |
69 | + | |
70 | do_combo_decrement: | |
71 | - | counter subtract 1 |
71 | + | counter subtract 1 |
72 | - | goto do_combo |
72 | + | |
73 | - | do_combo_prepause: |
73 | + | do_combo_pp: |
74 | - | counter subtract 1 |
74 | + | counter subtract 1 |
75 | - | pause |
75 | + | |
76 | do_combo: | |
77 | if %c>count("%combo_list","|") then goto done | |
78 | evalmath timediff $gametime-%combo_time | |
79 | if %timediff>20 then goto analyze_weakness_refresh | |
80 | echo counter is %c move is %combo_list(%c) | |
81 | var action %combo_list(%c) | |
82 | counter add 1 | |
83 | - | matchre do_combo_prepause ^\.\.\.wait |
83 | + | matchre do_combo_pp ^\.\.\.wait |
84 | matchre done Utilizing flawless tactics you outmaneuver | |
85 | matchre done falls the the ground and lies still. | |
86 | matchre done shudders and then suddenly stops all movement | |
87 | matchre done shuddering and moaning until it ceases all movement | |
88 | matchre attack_hit The $righthandnoun lands | |
89 | match do_combo_decrement Roundtime | |
90 | put %action | |
91 | matchwait | |
92 | ||
93 | attack_hit: | |
94 | if %skin_critters then | |
95 | { | |
96 | if contains("$roomobjs","which appears dead") then goto skin | |
97 | } | |
98 | goto do_combo | |
99 | ||
100 | - | skin_prepause: |
100 | + | skin_pp: |
101 | pause | |
102 | skin: | |
103 | - | matchre skin_prepause ^\.\.\.wait |
103 | + | matchre skin_pp ^\.\.\.wait |
104 | matchre loot ^Skin what | |
105 | matchre loot ^You carefully fit | |
106 | match drop_skin Roundtime | |
107 | put skin | |
108 | matchwait | |
109 | ||
110 | - | drop_skin_prepause: |
110 | + | drop_skin_pp: |
111 | pause | |
112 | drop_skin: | |
113 | matchre loot ^What were you referring | |
114 | matchre loot ^You drop | |
115 | - | matchre drop_skin_prepause ^\.\.\.wait |
115 | + | matchre drop_skin_pp ^\.\.\.wait |
116 | put drop $lefthandnoun | |
117 | matchwait | |
118 | ||
119 | - | loot_prepause: |
119 | + | loot_pp: |
120 | pause | |
121 | loot: | |
122 | - | matchre loot_prepause ^\.\.\.wait |
122 | + | matchre loot_pp ^\.\.\.wait |
123 | matchre done ^You search the | |
124 | matchre done ^I could not find what | |
125 | put loot treasure | |
126 | matchwait | |
127 | ||
128 | ||
129 | done: | |
130 | if $Tactics.LearningRate<34 then | |
131 | { | |
132 | if $stamina>90 then | |
133 | { | |
134 | echo Starting a new combo! | |
135 | goto analyze | |
136 | } | |
137 | pause 1 | |
138 | echo Pausing for low stamina! | |
139 | goto done | |
140 | } | |
141 | ||
142 | echo Tactics locked! |