| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bMatkRate,5;
9 if
10 (BaseLevel
11 =210)
12 {
13 bonus
14 bSMatk,1;
15 bonus
16 bSpl,2;
17 }
18 if
19 (.@r
20 =7)
21 {
22 bonus5
23 bAutoSpell,"WZ_METEOR",7,100,BF_SHORT|BF_WEAPON,1;
24 if
25 (.@r
26 =9)
27 {
28 bonus2
29 bMagicAddEle,Ele_All,15;
30 bonus2
31 bMagicAtkEle,Ele_All,15;
32 if
33 (.@r
34 =11)
35 {
36 bonus5
37 bAutoSpell,"SO_PSYCHIC_WAVE",5,100,BF_SHORT|BF_WEAPON,1;
38 }
39 }
40 }
41 if
42 (.@g
43 =
44 ENCHANTGRADE_D)
45 {
46 bonus
47 bMatkRate,3;
48 if
49 (.@g
50 =
51 ENCHANTGRADE_C)
52 {
53 bonus2
54 bMagicAtkEle,Ele_All,15;
55 bonus
56 bSMatk,1;
57 if
58 (.@g
59 =
60 ENCHANTGRADE_B)
61 {
62 bonus
63 bSMatk,2;
64 bonus
65 bSpl,3;
66 }
67 }
68 }
69 bonus
70 bMatk,15*(.@r/2);
71 bonus
72 bAspdRate,2*(.@r/3); |