-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,buff_bar_get_value].cs2
382 lines (382 loc) · 10.3 KB
/
[proc,buff_bar_get_value].cs2
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
// 5923
[proc,buff_bar_get_value](struct $struct0)(int)
switch_struct ($struct0) {
case buff_abyssal_sire_stun_3091 :
if (%varcint475 > 0) {
return(~script4674(%varcint475, calc(45 * 30 + 150)));
}
case buff_bound_3092 :
if (%varcint476 > 0) {
return(~script4678(%varcint476));
}
case buff_staff_of_the_dead_special_3093 :
if (%varcint477 > 0) {
return(~script5940(%varcint477, struct_param($struct0, param_1541)));
}
case buff_imbued_heart_cooldown_3083 :
if (%varcint479 > 0) {
return(~script5942(%varcint479, %varbit5361, struct_param($struct0, param_1541)));
}
case buff_dragonfire_shield_special_cooldown_3082 :
if (%varcint480 > 0) {
return(~script5942(%varcint480, %varbit6539, 8));
}
case buff_stamina_potion_3086 :
if (%varbit25 = 1) {
return(~script5942(%varcint481, calc(%varbit10385 + %varbit24), 10));
}
case buff_prayer_enhance_4150 :
if (%varbit12397 = 1 & %varbit5417 > 0) {
return(~script5942(%varcint482, %varbit5417, %varbit5419));
}
case buff_prayer_enhance_3087 :
if (%varbit12397 = 2 & %varbit5417 > 0) {
return(~script5942(%varcint482, %varbit5417, %varbit5419));
}
case buff_prayer_enhance_4151 :
if (%varbit12397 = 3 & %varbit5417 > 0) {
return(~script5942(%varcint482, %varbit5417, %varbit5419));
}
case buff_overload_4152 :
if (%varbit5420 = 1 & %varcint483 > 0) {
return(~script5942(%varcint483, %varbit5418, 25));
}
case buff_overload_3089 :
if (%varbit5420 = 2 & %varcint483 > 0) {
return(~script5942(%varcint483, %varbit5418, 25));
}
case buff_overload_4153 :
if (%varbit5420 = 3 & %varcint483 > 0) {
return(~script5942(%varcint483, %varbit5418, 25));
}
case buff_overload_3088 :
if (%varcint483 > 0) {
return(~script5942(%varcint483, %varbit3955, 25));
}
case buff_antifire_3102 :
if (%varcint484 > 0) {
return(~script5942(%varcint484, %varbit3981, struct_param($struct0, param_1541)));
}
case buff_superior_antifire_3103 :
if (%varcint485 > 0) {
return(~script5942(%varcint485, %varbit6101, struct_param($struct0, param_1541)));
}
case buff_antipoison_3105 :
if (%var102 >= -38 & %var102 < 0) {
return(~script5942(%varcint486, calc(%var102 * -1), struct_param($struct0, param_1541)));
}
case buff_anti_venom_3104 :
if (%var102 < -38) {
return(~script5942(%varcint486, calc((%var102 + 38) * -1), struct_param($struct0, param_1541)));
}
case buff_charge_3080 :
if (%varcint487 > 0) {
return(~script5942(%varcint487, %var272, 2));
}
case buff_magic_imbue_3090 :
if (%varcint488 > 0) {
return(~script5942(%varcint488, %varbit5438, struct_param($struct0, param_1541)));
}
case buff_godwars_altar_cooldown_3081 :
if (%varcint489 > 0) {
return(~script5942(%varcint489, %varbit4099, 100));
}
case buff_home_teleport_cooldown_3077 :
if (%var892 > 0) {
return(~script5941(%var892, 30));
}
case buff_minigame_teleport_cooldown_3078 :
if (%var888 > 0) {
return(~script5941(%var888, 20));
}
case buff_teleport_block_3079 :
if (%varbit4163 > 0) {
return(calc(%varbit4163 - 100));
}
case buff_divine_attack_potion_3094 :
if (%varbit13663 = 0) {
return(%varbit8429);
}
case buff_divine_strength_potion_3101 :
if (%varbit13663 = 0) {
return(%varbit8430);
}
case buff_divine_defence_potion_3098 :
if (%varbit13663 = 0 & %varbit13664 = 0 & %varbit13665 = 0) {
return(%varbit8431);
}
case buff_divine_magic_potion_3099 :
if (%varbit13665 = 0) {
return(%varbit8433);
}
case buff_divine_range_potion_3100 :
if (%varbit13664 = 0) {
return(%varbit8432);
}
case buff_divine_bastion_potion_3095 :
if (%varbit13664 > 0) {
return(%varbit13664);
}
case buff_divine_battlemage_potion_3096 :
if (%varbit13665 > 0) {
return(%varbit13665);
}
case buff_divine_combat_potion_3097 :
if (%varbit13663 > 0) {
return(%varbit13663);
}
case buff_vengeance_active_3085 :
if (%varbit2450 > 0) {
return(%varbit2450);
}
case buff_vengeance_cast_cooldown_3084 :
if (%varcint478 > 0) {
return(~script5942(%varcint478, %varbit2451, 50));
}
case buff_lesser_corruption_3118 :
if (%varbit12136 = 1) {
return(1);
}
case buff_greater_corruption_4156 :
if (%varbit12136 = 2) {
return(1);
}
case buff_corruption_cooldown_3119 :
if (%varcint515 > 0) {
return(~script5942(%varcint515, %varbit12288, 50));
}
case buff_mark_of_darkness_3120 :
if (%varcint516 > 0) {
return(~script5940(%varcint516, %varcint982));
}
case buff_shadow_veil_3122 :
if (%varcint518 > 0) {
return(~script5940(%varcint518, stat_base(magic)));
}
case buff_shadow_veil_cooldown_3121 :
if (%varcint517 > 0) {
return(~script5942(%varcint517, %varbit12291, 50));
}
case buff_death_charge_3124 :
if (%varcint520 > 0) {
return(~script5942(%varcint520, %varbit12411, 100));
}
case buff_death_charge_cooldown_3123 :
if (%varcint519 > 0) {
return(~script5942(%varcint519, %varbit12138, 100));
}
case buff_ward_of_arceuus_3126 :
if (%varcint522 > 0) {
return(~script5940(%varcint522, stat_base(magic)));
}
case buff_ward_of_arceuus_cooldown_3125 :
if (%varcint521 > 0) {
return(~script5942(%varcint521, %varbit12293, 50));
}
case buff_resurrection_3128 :
if (%varcint524 > 0) {
return(~script5940(%varcint524, calc(%varcint1147 - 3)));
}
case buff_resurrection_cooldown_3127 :
if (%varcint523 > 0) {
return(~script5942(%varcint523, %varbit12290, 17));
}
case buff_ammo_remaining_3661 :
if (%var3160 ! null) {
return(%var3159);
}
case buff_ammo_remaining_3659 :
if (%var3160 = null) {
return(%var3159);
}
case buff_time_till_next_poison_hit_3740 :
if (%var102 > 0 & %var102 < 1000000) {
return(~script5940(%varcint983, struct_param($struct0, param_1541)));
}
case buff_time_till_next_venom_hit_3741 :
if (%var102 >= 1000000) {
return(~script5940(%varcint983, struct_param($struct0, param_1541)));
}
case buff_desert_heat_timer_3763 :
if (%varcint947 > 0) {
return(~script5942(%varcint947, 1, %varbit13137));
}
case buff_imprisoned_3765 :
if (%varcint950 > 0) {
return(~script4678(%varcint950));
}
case buff_blood_siphon_3766 :
if (%varcint951 > 0) {
return(~script4678(%varcint951));
}
case buff_infected_3767 :
if (%varcint952 > 0) {
return(~script4678(%varcint952));
}
case buff_cannon_ammo_4158 :
if (%var2 = 4 & calc(map_world % 128) = %varbit1968 & %varbit13671 = 0 & %varbit13672 = 0) {
return(%var3);
}
case buff_cannon_ammo_granite_cannonball_4159 :
if (%var2 = 4 & calc(map_world % 128) = %varbit1968 & %varbit13671 = 1 & %varbit13672 = 0) {
return(%var3);
}
case buff_forinthry_surge_additional_15_accuracy_and_damage_to_the_revenants_4134 :
if (%var3347 > 0) {
return(calc(%var3347 - %var3078));
}
case buff_stat_renewal_4367 :
if (%varbit14448 > 0) {
return(~script5942(%varcint1088, %varbit14448, 25));
}
case buff_weapon_specialist_3773 :
if (~script4675(0) = 1) {
return(1);
}
case buff_weapon_specialist_3774 :
if (~script4675(1) = 1) {
return(1);
}
case buff_weapon_specialist_3775 :
if (~script4675(2) = 1) {
return(1);
}
case buff_weapon_specialist_3776 :
if (~script4675(3) = 1) {
return(1);
}
case buff_weapon_specialist_3777 :
if (~script4675(4) = 1) {
return(1);
}
case buff_weapon_specialist_3778 :
if (~script4675(5) = 1) {
return(1);
}
case buff_weapon_specialist_3779 :
if (~script4675(6) = 1) {
return(1);
}
case buff_twin_strikes_4099 :
if (~script4676(14) > 0) {
return(1);
}
case buff_double_tap_4100 :
if (~script4676(5) > 0) {
return(1);
}
case buff_chain_magic_4101 :
if (~script4676(3) > 0) {
return(1);
}
case buff_fast_metabolism_4102 :
if (~script4676(8) > 0) {
return(1);
}
case buff_drakans_touch_4103 :
if (~script4676(6) > 0) {
return(1);
}
case buff_absolute_unit_4104 :
if (~script4676(1) > 0) {
return(1);
}
case buff_knifes_edge_4105 :
if (~script4676(10) > 0) {
return(1);
}
case buff_unchained_talent_4106 :
if (~script4676(15) > 0) {
return(1);
}
case buff_the_alchemist_4107 :
if (~script4676(2) > 0) {
return(1);
}
case buff_the_craftsman_4108 :
if (~script4676(4) > 0) {
return(1);
}
case buff_greedy_gatherer_4109 :
if (~script4676(9) > 0) {
return(1);
}
case buff_personal_banker_4110 :
if (~script4676(12) > 0) {
return(1);
}
case buff_endless_knowledge_4111 :
if (~script4676(7) > 0) {
return(1);
}
case buff_last_recall_4112 :
if (~script4676(11) > 0) {
return(1);
}
case buff_trailblazer_4113 :
if (~script4676(13) > 0) {
return(1);
}
case buff_desert_water_available_340 :
if (%varcint947 > 0) {
return(~script6662);
}
case buff_cannon_decay_341 :
if (%varcint1013 > 0 & %var2 = 4 & calc(map_world % 128) = %varbit1968 & %varbit13672 = 0) {
return(~script5940(%varcint1013, struct_param($struct0, param_1541)));
}
case buff_cannon_broken_342 :
if (%varcint1013 > 0 & %var2 = 4 & calc(map_world % 128) = %varbit1968 & %varbit13672 = 1) {
return(~script5940(%varcint1013, struct_param($struct0, param_1541)));
}
case buff_apmekens_sight_4368 :
if (%varcint1090 > 0) {
return(~script4678(%varcint1090));
}
case buff_burning_damage_4369 :
if (%varcint1091 > 0) {
return(~script4678(%varcint1091));
}
case buff_darkness_damage_4370 :
if (%varcint1092 > 0) {
return(~script4678(%varcint1092));
}
case buff_frozen_4371 :
if (%varcint1093 > 0) {
return(~script4678(%varcint1093));
}
case buff_bleeding_4372 :
if (%varcint1094 > 0) {
return(~script4678(%varcint1094));
}
case buff_healing_over_time_4373 :
if (%varcint1095 > 0) {
return(~script4678(%varcint1095));
}
case buff_prayer_over_time_4374 :
if (%varcint1096 > 0) {
return(~script4678(%varcint1096));
}
case buff_special_attack_energy_boost_4375 :
if (%varcint1097 > 0) {
return(~script4678(%varcint1097));
}
case buff_stat_boost_4376 :
if (%varbit14344 > 0) {
return(~script5942(%varcint1089, %varbit14344, 25));
}
case buff_time_till_next_decay_hit_4457 :
if (%varcint1144 > 0) {
if (%varbit14692 < 5) {
return(~script5940(%varcint1144, calc(10 * (5 - %varbit14692))));
}
return(~script5940(%varcint1144, 10));
}
case buff_bleeding_4499 :
if (%varcint1164 > 0) {
return(~script4678(%varcint1164));
}
case buff_escape_crystal_auto_activation_is_on_4498 :
return(~script1784);
}
return(struct_param($struct0, param_1540));