This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[proc,magic_spellbook_modifyops].cs2
93 lines (93 loc) · 2.73 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// 2615
[proc,magic_spellbook_modifyops](component $component0)
switch_component ($component0) {
case magic_spellbook:7, magic_spellbook:103, magic_spellbook:104, magic_spellbook:148 :
if_setop(10, "Animation", $component0);
case magic_spellbook:23 :
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:34 :
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:31 :
if (%varbit4744 = 1) {
if_setop(1, "", $component0);
if_setop(3, "Cast", $component0);
} else {
if_setop(1, "Cast", $component0);
if_setop(3, "", $component0);
}
if (~is_group_iron = 1) {
if_setop(4, "Group: Choose", $component0);
if_setop(5, "Group: Previous", $component0);
} else {
if_setop(4, "", $component0);
if_setop(5, "", $component0);
}
case magic_spellbook:47 :
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:108 :
if (%varbit5006 = 10 & %varbit5037 = 1) {
if_setop(2, "Steve", $component0);
} else if (%varbit5006 = 6 & %varbit10782 ! 0) {
if_setop(2, "Aya", $component0);
} else if (%varbit5006 = 7 & %varbit10782 = 1) {
if_setop(2, "Achtryn", $component0);
} else if (%varbit5006 = 11 & %varbit10782 ! 0) {
if_setop(2, "Kuradal", $component0);
} else {
if_setop(2, enum(int, string, enum_1702, %varbit5006), $component0);
}
if (%varbit5006 = 21 & %varbit10562 = 1) {
if_setop(3, "Last-tier contract", $component0);
} else {
if_setop(3, "", $component0);
}
if_setop(9, "Animation", $component0);
case magic_spellbook:73 :
if (%varbit236 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:99 :
if (%varbit6284 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:100 :
if (%varbit6285 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:101 :
if (%varbit6286 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
case magic_spellbook:102 :
if (%varbit6287 = 1) {
if_setop(10, "Disable warning", $component0);
} else {
if_setop(10, "Enable warning", $component0);
}
}