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