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