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