| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMaxHPrate,5;
9 bonus
10 bBaseAtk,15*(.@r/2);
11 bonus
12 bMatk,15*(.@r/2);
13 bonus2
14 bSubClass,Class_All,2*(.@r/4);
15 bonus2
16 bSubRace,RC_All,2*(.@r/4);
17 bonus2
18 bSubEle,Ele_All,2*(.@r/4);
19 bonus2
20 bSubSize,Size_All,2*(.@r/4);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bMaxHPrate,7;
27 if
28 (.@r
29 =9)
30 {
31 bonus
32 bVariableCastrate,-15;
33 if
34 (.@r
35 =11)
36 {
37 bonus2
38 bAddSize,Size_All,10;
39 bonus2
40 bMagicAddSize,Size_All,10;
41 if
42 (.@r
43 =13)
44 {
45 bonus
46 bFixedCast,-300;
47 }
48 }
49 }
50 }
51 if
52 (.@g
53 =ENCHANTGRADE_D)
54 {
55 bonus
56 bRes,30;
57 bonus
58 bMRes,30;
59 if
60 (.@g
61 =ENCHANTGRADE_C)
62 {
63 bonus
64 bPow,5;
65 bonus
66 bSpl,5;
67 bonus
68 bCon,5;
69 if
70 (.@g
71 =ENCHANTGRADE_B)
72 {
73 bonus2
74 bAddRace,RC_All,15;
75 bonus2
76 bMagicAddRace,RC_All,15;
77 if
78 (.@g
79 =ENCHANTGRADE_A)
80 {
81 bonus
82 bDelayrate,-15;
83 }
84 }
85 }
86 } |