Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bMaxHP,120*(.@r/2);
9 bonus
10 bMaxSP,30*(.@r/2);
11 bonus
12 bMatkRate,2*(.@r/3);
13 bonus
14 bAtkRate,2*(.@r/3);
15 bonus2
16 bSkillAtk,"SH_HYUN_ROKS_BREEZE",5*(.@r/4);
17 bonus2
18 bSkillAtk,"SH_HOGOGONG_STRIKE",5*(.@r/4);
19 if
20 (.@r
21 =7)
22 {
23 bonus2
24 bMagicAtkEle,Ele_All,10;
25 bonus
26 bLongAtkRate,10;
27 if
28 (.@r
29 =9)
30 {
31 bonus
32 bPAtk,5;
33 bonus
34 bSMatk,5;
35 if
36 (.@r
37 =10)
38 {
39 bonus2
40 bMagicAddRace,RC_All,15;
41 bonus2
42 bMagicAddRace,RC_Player_Human,-15;
43 bonus2
44 bMagicAddRace,RC_Player_Doram,-15;
45 bonus2
46 bAddRace,RC_All,15;
47 bonus2
48 bAddRace,RC_Player_Human,-15;
49 bonus2
50 bAddRace,RC_Player_Doram,-15;
51 if
52 (.@r
53 =11)
54 {
55 bonus
56 bFixedCast,-500;
57 bonus
58 bCritical,10;
59 }
60 }
61 }
62 }
63 if
64 (.@g
65 =ENCHANTGRADE_D)
66 {
67 bonus
68 bPAtk,3;
69 bonus
70 bSMatk,3;
71 if
72 (.@g
73 =ENCHANTGRADE_C)
74 {
75 bonus
76 bMaxHPrate,3;
77 bonus
78 bMaxSPrate,3;
79 if
80 (.@g
81 =ENCHANTGRADE_B)
82 {
83 bonus2
84 bMagicAtkEle,Ele_All,10;
85 bonus
86 bLongAtkRate,10;
87 if
88 (.@g
89 =ENCHANTGRADE_A)
90 {
91 bonus2
92 bAddSize,Size_All,15;
93 bonus2
94 bMagicAddSize,Size_All,15;
95 }
96 }
97 }
98 } |