Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 if
8 (BaseLevel
9 =230)
10 {
11 bonus2
12 bAddClass,Class_Normal,5;
13 bonus2
14 bMagicAddClass,Class_Normal,5;
15 bonus2
16 bAddClass,Class_Boss,5;
17 bonus2
18 bMagicAddClass,Class_Boss,5;
19 }
20 if
21 (.@r
22 =7)
23 {
24 bonus
25 bMatkRate,5;
26 bonus
27 bAtkRate,5;
28 if
29 (.@r
30 =9)
31 {
32 bonus
33 bVariableCastrate,-10;
34 if
35 (.@r
36 =10)
37 {
38 bonus
39 bFixedCast,-700;
40 if
41 (.@r
42 =11)
43 {
44 bonus2
45 bMagicAtkEle,Ele_All,10;
46 bonus
47 bShortAtkRate,10;
48 bonus
49 bLongAtkRate,10;
50 }
51 }
52 }
53 }
54 if
55 (.@g
56 =ENCHANTGRADE_D)
57 {
58 bonus
59 bMatkRate,5;
60 bonus
61 bAtkRate,5;
62 if
63 (.@g
64 =ENCHANTGRADE_C)
65 {
66 bonus
67 bFixedCast,-300;
68 if
69 (.@g
70 =ENCHANTGRADE_B)
71 {
72 bonus
73 bPAtk,5;
74 bonus
75 bSMatk,5;
76 if
77 (.@g
78 =ENCHANTGRADE_A)
79 {
80 bonus
81 bPAtk,2;
82 bonus
83 bSMatk,2;
84 }
85 }
86 }
87 } |