Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@lvl
5 =
6 getskilllv("WM_GLOOMYDAY");
7 if
8 (.@r
9 =
10 7)
11 {
12 .@val
13 =
14 10;
15 }
16 else
17 if
18 (.@r
19 =
20 5)
21 {
22 .@val
23 =
24 5;
25 }
26 else
27 {
28 .@val
29 =
30 2;
31 }
32 bonus
33 bMaxHPrate,.@val;
34 bonus
35 bMaxSPrate,.@val;
36 bonus
37 bMatkRate,.@val+(4*.@lvl);
38 bonus2
39 bSubRace,RC_Player_Human,5;
40 bonus2
41 bSubRace,RC_Player_Doram,5;
42 bonus2
43 bSkillAtk,"WM_METALICSOUND",4*.@lvl;
44 if
45 (getskilllv("WM_FRIGG_SONG")
46 ==
47 5)
48 {
49 bonus2
50 bSkillCooldown,"WM_METALICSOUND",-200;
51 bonus
52 bAspdRate,10;
53 }
54 if
55 (getskilllv("WM_LULLABY_DEEPSLEEP")
56 ==
57 5)
58 {
59 skill
60 "AL_HEAL",10;
61 bonus
62 bMagicHPGainValue,200;
63 bonus
64 bMagicSPGainValue,20;
65 } |