Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bAtkRate,5;
9 if
10 (BaseLevel
11 =210)
12 {
13 bonus
14 bPAtk,1;
15 bonus
16 bPow,2;
17 }
18 if
19 (.@r
20 =7)
21 {
22 bonus2
23 bSkillCooldown,"RA_ARROWSTORM",-1000;
24 bonus2
25 bSkillAtk,"RA_ARROWSTORM",20;
26 if
27 (.@r
28 =9)
29 {
30 bonus
31 bDelayrate,-10;
32 bonus2
33 bSkillAtk,"RA_ARROWSTORM",30;
34 if
35 (.@r
36 =11)
37 {
38 bonus
39 bCritAtkRate,15;
40 bonus2
41 bSkillAtk,"SN_SHARPSHOOTING",35;
42 bonus2
43 bSkillAtk,"RA_ARROWSTORM",20;
44 }
45 }
46 }
47 if
48 (.@g
49 =
50 ENCHANTGRADE_D)
51 {
52 bonus
53 bAtkRate,3;
54 if
55 (.@g
56 =
57 ENCHANTGRADE_C)
58 {
59 bonus
60 bLongAtkRate,15;
61 bonus
62 bPAtk,1;
63 if
64 (.@g
65 =
66 ENCHANTGRADE_B)
67 {
68 bonus
69 bPAtk,2;
70 bonus
71 bPow,3;
72 }
73 }
74 }
75 bonus
76 bBaseAtk,15*(.@r/2);
77 bonus
78 bLongAtkRate,4*(.@r/3); |