| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bNoKnockback;
9 bonus
10 bAtkRate,20;
11 bonus
12 bBaseAtk,20*(.@r/2);
13 bonus
14 bCon,2*(.@r/2);
15 bonus
16 bCrt,2*(.@r/2);
17 bonus
18 bLongAtkRate,7*(.@r/3);
19 bonus
20 bCritAtkRate,7*(.@r/3);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bAspdRate,10;
27 bonus
28 bAtkRate,15;
29 if
30 (.@r
31 =9)
32 {
33 bonus2
34 bAddEle,Ele_All,20;
35 if
36 (.@r
37 =10)
38 {
39 bonus
40 bCritical,20;
41 if
42 (.@r
43 =11)
44 {
45 bonus
46 bAllStats,15;
47 if
48 (.@r
49 =12)
50 {
51 bonus
52 bCRate,10;
53 bonus
54 bLongAtkRate,15;
55 if
56 (.@r
57 =13)
58 {
59 bonus2
60 bSkillAtk,"RK_IGNITIONBREAK",50;
61 bonus2
62 bSkillAtk,"LG_CANNONSPEAR",50;
63 if
64 (.@r
65 =14)
66 {
67 skill
68 "LG_SHIELDSPELL",3;
69 }
70 }
71 }
72 }
73 }
74 }
75 }
76 if
77 (.@g
78 =ENCHANTGRADE_D)
79 bonus
80 bBaseAtk,100;
81 if
82 (.@g
83 =ENCHANTGRADE_C)
84 bonus
85 bDelayrate,-15;
86 if
87 (.@g
88 =ENCHANTGRADE_B)
89 bonus
90 bPAtk,20;
91 if
92 (.@g
93 =ENCHANTGRADE_A)
94 {
95 if
96 (.@r
97 =14)
98 {
99 bonus2
100 bSkillAtk,"RK_IGNITIONBREAK",70;
101 bonus2
102 bSkillAtk,"LG_CANNONSPEAR",70;
103 }
104 } |