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_CRIMSON_ARROW",15+5*(.@r/3);
15 bonus2
16 bSkillAtk,"AG_CRIMSON_ARROW_ATK",15+5*(.@r/3);
17 bonus2
18 bSkillAtk,"AG_STORM_CANNON",15+5*(.@r/3);
19 if
20 (.@r
21 =7)
22 {
23 bonus2
24 bMagicAtkEle,Ele_Fire,25;
25 bonus2
26 bMagicAtkEle,Ele_Wind,25;
27 if
28 (.@r
29 =9)
30 {
31 bonus
32 bVariableCastrate,-10;
33 bonus
34 bSMatk,7;
35 if
36 (.@r
37 =11)
38 {
39 bonus2
40 bSkillAtk,"AG_CRIMSON_ARROW",15;
41 bonus2
42 bSkillAtk,"AG_CRIMSON_ARROW_ATK",15;
43 bonus2
44 bSkillAtk,"AG_STORM_CANNON",15;
45 }
46 }
47 }
48 if
49 (.@g
50 =ENCHANTGRADE_D)
51 {
52 bonus
53 bSMatk,5;
54 if
55 (.@g
56 =ENCHANTGRADE_C)
57 {
58 bonus2
59 bSkillAtk,"AG_CRIMSON_ARROW",15;
60 bonus2
61 bSkillAtk,"AG_CRIMSON_ARROW_ATK",15;
62 bonus2
63 bSkillAtk,"AG_STORM_CANNON",15;
64 if
65 (.@g
66 =ENCHANTGRADE_B)
67 {
68 bonus2
69 bMagicAtkEle,Ele_Fire,10;
70 bonus2
71 bMagicAtkEle,Ele_Wind,10;
72 if
73 (.@g
74 =ENCHANTGRADE_A)
75 {
76 bonus
77 bSMatk,3*(.@r/2);
78 }
79 }
80 }
81 } |