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