Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bMatkRate,5;
9 bonus2
10 bSkillAtk,"EM_DIAMOND_STORM",10;
11 bonus2
12 bSkillAtk,"EM_LIGHTNING_LAND",10;
13 if
14 (.@r
15 =7)
16 {
17 bonus2
18 bMagicAtkEle,Ele_Water,10;
19 bonus2
20 bMagicAtkEle,Ele_Wind,10;
21 if
22 (.@r
23 =9)
24 {
25 bonus2
26 bSkillAtk,"EM_DIAMOND_STORM",10;
27 bonus2
28 bSkillAtk,"EM_LIGHTNING_LAND",10;
29 if
30 (.@r
31 =11)
32 {
33 bonus2
34 bSkillAtk,"EM_DIAMOND_STORM",10;
35 bonus2
36 bSkillAtk,"EM_LIGHTNING_LAND",10;
37 }
38 }
39 }
40 if
41 (.@g
42 =ENCHANTGRADE_D)
43 {
44 bonus2
45 bMagicAddSize,Size_Small,15;
46 if
47 (.@g
48 =ENCHANTGRADE_C)
49 {
50 bonus2
51 bMagicAddSize,Size_Medium,15;
52 if
53 (.@g
54 =ENCHANTGRADE_B)
55 {
56 bonus2
57 bMagicAddSize,Size_Large,15;
58 if
59 (.@g
60 =ENCHANTGRADE_A)
61 {
62 bonus
63 bSMatk,5;
64 }
65 }
66 }
67 } |