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 bSkillAtk,"SR_RAMPAGEBLASTER",20;
24 bonus2
25 bSkillAtk,"SR_RIDEINLIGHTNING",20;
26 if
27 (.@r
28 =9)
29 {
30 bonus2
31 bSkillUseSPrate,"SR_RAMPAGEBLASTER",15;
32 bonus2
33 bSkillCooldown,"SR_RAMPAGEBLASTER",-1000;
34 bonus2
35 bSkillCooldown,"SR_EARTHSHAKER",-1000;
36 if
37 (.@r
38 =11)
39 {
40 bonus2
41 bAddEle,Ele_All,15;
42 bonus2
43 bSkillAtk,"SR_RAMPAGEBLASTER",25;
44 bonus2
45 bSkillAtk,"SR_RIDEINLIGHTNING",25;
46 }
47 }
48 }
49 if
50 (.@g
51 =
52 ENCHANTGRADE_D)
53 {
54 bonus
55 bAtkRate,3;
56 if
57 (.@g
58 =
59 ENCHANTGRADE_C)
60 {
61 bonus
62 bLongAtkRate,15;
63 bonus
64 bPAtk,1;
65 if
66 (.@g
67 =
68 ENCHANTGRADE_B)
69 {
70 bonus
71 bPAtk,2;
72 bonus
73 bPow,3;
74 }
75 }
76 }
77 bonus
78 bBaseAtk,15*(.@r/2);
79 bonus
80 bLongAtkRate,4*(.@r/3); |