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