| 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 bonus
12 bMaxHP,2000*(.@r/2);
13 bonus2
14 bAddClass,Class_Normal,7*(.@r/3);
15 bonus2
16 bMagicAddClass,Class_Normal,7*(.@r/3);
17 bonus2
18 bIgnoreDefClassRate,Class_Normal,5*(.@r/3);
19 bonus2
20 bIgnoreMdefClassRate,Class_Normal,5*(.@r/3);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bAtkRate,10;
27 bonus
28 bMatkRate,10;
29 bonus
30 bAspdRate,10;
31 if
32 (.@r
33 =9)
34 {
35 bonus2
36 bAddSize,Size_All,10;
37 bonus2
38 bMagicAddSize,Size_All,10;
39 if
40 (.@r
41 =11)
42 {
43 bonus
44 bShortAtkRate,15;
45 bonus
46 bLongAtkRate,15;
47 bonus2
48 bMagicAtkEle,Ele_All,15;
49 bonus2
50 bSkillCooldown,"WZ_VERMILION",-4000;
51 bonus2
52 bSkillCooldown,"WZ_STORMGUST",-5000;
53 bonus3
54 bAutoSpell,"RK_STORMBLAST",1,20;
55 if
56 (.@r
57 =12)
58 {
59 skill
60 "WL_RECOGNIZEDSPELL",3;
61 skill
62 "BS_MAXIMIZE",5;
63 bonus
64 bDelayrate,-20;
65 }
66 }
67 }
68 }
69 if
70 (.@g
71 =ENCHANTGRADE_D)
72 {
73 bonus2
74 bAddClass,Class_Normal,4*(.@r/3);
75 bonus2
76 bMagicAddClass,Class_Normal,4*(.@r/3);
77 if
78 (.@g
79 =ENCHANTGRADE_C)
80 {
81 skill
82 "RK_IGNITIONBREAK",5;
83 skill
84 "WL_CRIMSONROCK",5;
85 bonus2
86 bSkillAtk,"RK_IGNITIONBREAK",15*(.@r/2);
87 bonus2
88 bSkillAtk,"WL_CRIMSONROCK",15*(.@r/2);
89 if
90 (.@g
91 =ENCHANTGRADE_B)
92 {
93 bonus
94 bPAtk,7;
95 bonus
96 bSMatk,7;
97 if
98 (.@g
99 =ENCHANTGRADE_A)
100 {
101 bonus2
102 bAddRace,RC_All,10;
103 bonus2
104 bMagicAddRace,RC_All,10;
105 bonus2
106 bSkillCooldown,"RK_IGNITIONBREAK",-1000;
107 bonus2
108 bSkillCooldown,"WL_CRIMSONROCK",-3000;
109 }
110 }
111 }
112 } |