-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,script4558].cs2
37 lines (37 loc) · 1.41 KB
/
[proc,script4558].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
// 4558
[proc,script4558]()(int)
def_int $lvl0 = stat(fishing);
if (map_members = ^true) {
if (inv_total(worn, trailblazer_harpoon_25114) > 0 | inv_total(inv, trailblazer_harpoon_25114) > 0) {
return(1);
}
if ($lvl0 >= 71) {
if (inv_total(worn, crystal_harpoon_23762) > 0 | inv_total(inv, crystal_harpoon_23762) > 0) {
return(1);
} else if (inv_total(worn, crystal_harpoon_inactive_23764) > 0 | inv_total(inv, crystal_harpoon_inactive_23764) > 0) {
return(1);
}
}
if ($lvl0 >= 61) {
if (inv_total(worn, infernal_harpoon_21031) > 0 | inv_total(inv, infernal_harpoon_21031) > 0) {
return(1);
} else if (inv_total(worn, infernal_harpoon_or_25059) > 0 | inv_total(inv, infernal_harpoon_or_25059) > 0) {
return(1);
} else if (inv_total(worn, infernal_harpoon_uncharged_21033) > 0 | inv_total(inv, infernal_harpoon_uncharged_21033) > 0) {
return(1);
} else if (inv_total(worn, infernal_harpoon_uncharged_25367) > 0 | inv_total(inv, infernal_harpoon_uncharged_25367) > 0) {
return(1);
} else if (inv_total(worn, dragon_harpoon_or_25373) > 0 | inv_total(inv, dragon_harpoon_or_25373) > 0) {
return(1);
} else if (inv_total(worn, dragon_harpoon_21028) > 0 | inv_total(inv, dragon_harpoon_21028) > 0) {
return(1);
}
}
if (inv_total(worn, barb_tail_harpoon_10129) > 0 | inv_total(inv, barb_tail_harpoon_10129) > 0) {
return(1);
}
}
if (inv_total(inv, harpoon_311) > 0) {
return(1);
}
return(0);