| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 if
5 (.@g
6 =ENCHANTGRADE_D)
7 {
8 bonus
9 bSMatk,5;
10 bonus
11 bSpl,3;
12 if
13 (.@g
14 =ENCHANTGRADE_C)
15 {
16 bonus2
17 bMagicAtkEle,Ele_Neutral,4;
18 bonus2
19 bMagicAtkEle,Ele_Fire,4;
20 bonus2
21 bMagicAtkEle,Ele_Earth,4;
22 bonus2
23 bMagicAtkEle,Ele_Water,4;
24 bonus2
25 bMagicAtkEle,Ele_Wind,4;
26 bonus2
27 bMagicAtkEle,Ele_Poison,4;
28 bonus2
29 bMagicAtkEle,Ele_Dark,4;
30 if
31 (.@g
32 =ENCHANTGRADE_B)
33 {
34 bonus
35 bSpl,3;
36 bonus
37 bMatk,3*(getrefine()/5);
38 }
39 }
40 } |