| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus2
8 bSkillAtk,"EM_DIAMOND_STORM",10;
9 bonus2
10 bSkillAtk,"MG_LIGHTNINGBOLT",100;
11 bonus2
12 bSkillAtk,"MG_FIREBOLT",100;
13 bonus2
14 bSkillAtk,"MG_COLDBOLT",100;
15 bonus2
16 bSkillFixedCast,"MG_LIGHTNINGBOLT",2500;
17 bonus2
18 bSkillFixedCast,"MG_FIREBOLT",2500;
19 bonus2
20 bSkillFixedCast,"MG_COLDBOLT",2500;
21 if
22 (BaseLevel
23 =210)
24 {
25 bonus
26 bMatkRate,4;
27 bonus
28 bMatk,40;
29 }
30 if
31 (BaseLevel
32 =220)
33 {
34 bonus2
35 bSkillAtk,"EM_TERRA_DRIVE",10;
36 }
37 if
38 (BaseLevel
39 =230)
40 {
41 bonus2
42 bMagicAddSize,Size_All,10;
43 }
44 if
45 (.@r
46 =7)
47 {
48 bonus2
49 bMagicAtkEle,Ele_Earth,10;
50 bonus2
51 bMagicAtkEle,Ele_Fire,10;
52 bonus2
53 bMagicAtkEle,Ele_Water,10;
54 bonus2
55 bMagicAtkEle,Ele_Wind,10;
56 if
57 (.@r
58 =9)
59 {
60 bonus2
61 bSkillAtk,"MG_LIGHTNINGBOLT",60;
62 bonus2
63 bSkillAtk,"MG_FIREBOLT",60;
64 bonus2
65 bSkillAtk,"MG_COLDBOLT",60;
66 if
67 (.@r
68 =10)
69 {
70 bonus
71 bAspdRate,10;
72 if
73 (.@r
74 =11)
75 {
76 bonus2
77 bSkillAtk,"MG_LIGHTNINGBOLT",40;
78 bonus2
79 bSkillAtk,"MG_FIREBOLT",40;
80 bonus2
81 bSkillAtk,"MG_COLDBOLT",40;
82 bonus2
83 bSkillAtk,"EM_DIAMOND_STORM",15;
84 bonus2
85 bSkillAtk,"EM_TERRA_DRIVE",15;
86 }
87 }
88 }
89 }
90 if
91 (.@g
92 =ENCHANTGRADE_D)
93 {
94 bonus2
95 bMagicAtkEle,Ele_Earth,10;
96 bonus2
97 bMagicAtkEle,Ele_Fire,10;
98 bonus2
99 bMagicAtkEle,Ele_Water,10;
100 bonus2
101 bMagicAtkEle,Ele_Wind,10;
102 if
103 (.@g
104 =ENCHANTGRADE_C)
105 {
106 bonus2
107 bSkillAtk,"EM_DIAMOND_STORM",10;
108 if
109 (.@g
110 =ENCHANTGRADE_B)
111 {
112 bonus2
113 bSkillAtk,"EM_TERRA_DRIVE",10;
114 if
115 (.@g
116 =ENCHANTGRADE_A)
117 {
118 bonus
119 bSMatk,3*(.@r/2);
120 bonus
121 bMatkRate,3*(.@r/2);
122 }
123 }
124 }
125 } |