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