-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,orbs_update_prayer].cs2
23 lines (23 loc) · 1.38 KB
/
[clientscript,orbs_update_prayer].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 82
[clientscript,orbs_update_prayer](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6)
if ($component0 ! null) {
if_setnoclickthrough(true, $component5);
if_setonstattransmit("orbs_update_prayer(null, $component1, $component2, $component3, $component4, $component5, $component6){prayer}", $component0);
if_setonvartransmit("orbs_update_prayer(null, $component1, $component2, $component3, $component4, $component5, $component6){var375}", $component0);
if_setonsubchange("orbs_update_prayer(null, $component1, $component2, $component3, $component4, $component5, $component6)", $component0);
if_setonop("orbs_toggle_prayer(event_opindex, $component3, $component4, $component6)", $component6);
}
def_graphic $graphic7 = "orb_frame,1";
if (~toplevel_check_sidepanel(5) = true) {
if_setonmouserepeat("graphic_swapper($component5, $graphic7)", $component6);
$graphic7 = "orb_frame,0";
if_setonmouseleave("graphic_swapper($component5, $graphic7)", $component6);
if_sethide(false, $component6);
} else {
if_setgraphic("orb_frame,0", $component5);
if_setonmouserepeat(null, $component6);
if_setonmouseleave(null, $component6);
if_sethide(true, $component6);
}
~orbs_update($component1, $component2, stat(prayer), stat_base(prayer));
~orbs_update_prayer($component3, $component4, $component6);