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