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