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