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,script2614].cs2
116 lines (116 loc) · 3.22 KB
/
[proc,script2614].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
// 2614
[proc,script2614](obj $obj0, component $component1, int $int2)(int, graphic)
switch_obj ($obj0) {
case high_level_alchemy_3303, low_level_alchemy_3284 :
if (~league_relic_active(golden_god_1131) = 1) {
return(1, null);
}
}
if (stat(magic) < oc_param($obj0, spell_levelreq)) {
if_settrans(0, $component1);
return(0, null);
}
switch_component ($component1) {
case magic_spellbook:142, magic_spellbook:141 :
if (%varbit2451 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:143 :
if (%varbit925 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:128 :
if (%varbit5438 > 0) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:21 :
if ((inv_total(inv, explorers_ring_1_13125) > 0 | inv_total(inv, explorers_ring_2_13126) > 0 | inv_total(inv, explorers_ring_3_13127) > 0 | inv_total(worn, explorers_ring_1_13125) > 0 | inv_total(worn, explorers_ring_2_13126) > 0 | inv_total(worn, explorers_ring_3_13127) > 0 | inv_total(inv, explorers_ring_4_13128) > 0 | inv_total(worn, explorers_ring_4_13128) > 0) & map_members = true & %varbit4554 < 30) {
return(1, null);
}
case magic_spellbook:44 :
if ((inv_total(inv, explorers_ring_4_13128) > 0 | inv_total(worn, explorers_ring_4_13128) > 0) & map_members = true & %varbit4554 < 30) {
return(1, null);
}
case magic_spellbook:175, magic_spellbook:176 :
if (%varbit12288 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:182 :
if (%varbit12289 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:183 :
if (%varbit12138 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:184, magic_spellbook:185, magic_spellbook:186, magic_spellbook:187, magic_spellbook:188, magic_spellbook:189, magic_spellbook:190, magic_spellbook:191, magic_spellbook:192 :
if (%varbit12290 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:180 :
if (%varbit12291 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:181 :
if (%varbit12292 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:174 :
if (%varbit12293 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
case magic_spellbook:177, magic_spellbook:178 :
if (%varbit12423 = 1) {
if_settrans(150, $component1);
} else {
if_settrans(0, $component1);
}
}
if (~magic_spellbook_hasrunes($obj0, inv_getobj(worn, 3), inv_getobj(worn, 5)) = 0) {
return(0, null);
}
if (~script5556($obj0) = 0) {
if ($int2 >= 40) {
return(0, graphic_3362);
}
return(0, graphic_3013);
}
if (~script4510($obj0) = 0) {
if ($int2 >= 40) {
return(0, graphic_3363);
}
return(0, graphic_3014);
}
if (~script4128($obj0) = 0) {
if ($int2 >= 40) {
return(0, graphic_3361);
}
return(0, graphic_3012);
}
if (~script4129($obj0) = 0) {
if ($int2 >= 40) {
return(0, graphic_3360);
}
return(0, graphic_3011);
}
return(1, null);