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