-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,magic_spellbook_modifyops].cs2
74 lines (74 loc) · 2.09 KB
/
[proc,magic_spellbook_modifyops].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
// 2615
[proc,magic_spellbook_modifyops](component $component0)
switch_component ($component0) {
case magic_spellbook:5, magic_spellbook:99, magic_spellbook:100, magic_spellbook:144 :
if_setop(10, "Animation", $component0);
case magic_spellbook:20 :
if (%varbit4585 = 1 & map_members = ^true) {
if_setop(1, "", $component0);
if_setop(3, "Cast", $component0);
} else {
if_setop(1, "Cast", $component0);
if_setop(3, "", $component0);
}
case magic_spellbook:31 :
if (%varbit4560 = 1 & map_members = ^true) {
if_setop(1, "", $component0);
if_setop(3, "Cast", $component0);
} else {
if_setop(1, "Cast", $component0);
if_setop(3, "", $component0);
}
case magic_spellbook:28 :
if (%varbit4744 = 1) {
if_setop(1, "", $component0);
if_setop(3, "Cast", $component0);
} else {
if_setop(1, "Cast", $component0);
if_setop(3, "", $component0);
}
case magic_spellbook:42 :
if (%varbit4548 = 1 & map_members = ^true) {
if_setop(1, "", $component0);
if_setop(3, "Cast", $component0);
} else {
if_setop(1, "Cast", $component0);
if_setop(3, "", $component0);
}
case magic_spellbook:104 :
if (%varbit5006 = 10 & %varbit5037 = 1) {
if_setop(2, "Steve", $component0);
} else {
if_setop(2, enum(int, string, enum_1702, %varbit5006), $component0);
}
case magic_spellbook:69 :
if (%varbit236 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:95 :
if (%varbit6284 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:96 :
if (%varbit6285 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:97 :
if (%varbit6286 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:98 :
if (%varbit6287 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
}