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