Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 if
10 (BaseLevel
11 =210)
12 {
13 bonus
14 bPAtk,1;
15 bonus
16 bSMatk,1;
17 bonus
18 bPow,2;
19 bonus
20 bSpl,2;
21 }
22 if
23 (.@r
24 =7)
25 {
26 bonus2
27 bSkillAtk,"SU_SV_STEMSPEAR",40;
28 bonus2
29 bSkillAtk,"SU_PICKYPECK",40;
30 if
31 (.@r
32 =9)
33 {
34 bonus
35 bVariableCastrate,-10;
36 bonus2
37 bSkillCooldown,"SU_CN_METEOR",-2000;
38 if
39 (.@r
40 =11)
41 {
42 bonus2
43 bAddSize,Size_All,15;
44 bonus2
45 bMagicAddSize,Size_All,15;
46 bonus2
47 bSkillAtk,"SU_LUNATICCARROTBEAT",50;
48 bonus2
49 bSkillAtk,"SU_CN_METEOR",50;
50 }
51 }
52 }
53 if
54 (.@g
55 =
56 ENCHANTGRADE_D)
57 {
58 bonus
59 bAtkRate,3;
60 bonus
61 bMatkRate,3;
62 if
63 (.@g
64 =
65 ENCHANTGRADE_C)
66 {
67 bonus2
68 bMagicAtkEle,Ele_All,15;
69 bonus
70 bLongAtkRate,15;
71 bonus
72 bPAtk,1;
73 bonus
74 bSMatk,1;
75 if
76 (.@g
77 =
78 ENCHANTGRADE_B)
79 {
80 bonus
81 bPAtk,2;
82 bonus
83 bSMatk,2;
84 bonus
85 bPow,3;
86 bonus
87 bSpl,3;
88 }
89 }
90 }
91 bonus
92 bMatk,15*(.@r/2);
93 bonus
94 bBaseAtk,15*(.@r/2);
95 bonus
96 bAtkRate,2*(.@r/3);
97 bonus
98 bMatkRate,2*(.@r/3); |