| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMdef,20;
9 bonus
10 bAllStats,.@r/2;
11 bonus
12 bMaxHPrate,2*(.@r/2);
13 bonus2
14 bSubEle,Ele_Neutral,5*(.@r/3);
15 if
16 (.@r
17 =9)
18 {
19 bonus
20 bAllStats,3;
21 bonus
22 bMaxHPrate,5;
23 if
24 (.@r
25 =11)
26 {
27 bonus
28 bAspdRate,10;
29 bonus
30 bDelayrate,-10;
31 if
32 (.@r
33 =12)
34 {
35 bonus
36 bAllStats,5;
37 bonus
38 bMaxHPrate,6;
39 }
40 }
41 }
42 if
43 (eaclass()&EAJL_THIRD
44 &&
45 BaseJob
46 ==
47 Job_Alchemist)
48 {
49 bonus2
50 bSkillAtk,"CR_ACIDDEMONSTRATION",50;
51 bonus2
52 bSkillAtk,"GN_HELLS_PLANT",50;
53 bonus2
54 bSkillAtk,"GN_CARTCANNON",50;
55 bonus2
56 bSkillAtk,"GN_CART_TORNADO",50;
57 }
58 if
59 (.@g
60 =ENCHANTGRADE_D)
61 bonus
62 bDelayrate,-5;
63 if
64 (.@g
65 =ENCHANTGRADE_C)
66 {
67 bonus
68 bPAtk,4;
69 bonus
70 bSMatk,4;
71 }
72 if
73 (.@g
74 =ENCHANTGRADE_B)
75 {
76 bonus2
77 bSubEle,Ele_All,5;
78 if
79 (eaclass()&EAJL_THIRD
80 &&
81 BaseJob
82 ==
83 Job_Alchemist)
84 {
85 bonus2
86 bAddSize,Size_All,20;
87 }
88 }
89 if
90 (.@g
91 =ENCHANTGRADE_A)
92 {
93 bonus
94 bCritical,10;
95 bonus
96 bCritAtkRate,30;
97 bonus
98 bNoWalkDelay;
99 if
100 (eaclass()&EAJL_THIRD
101 &&
102 BaseJob
103 ==
104 Job_Alchemist)
105 {
106 bonus
107 bPAtk,6;
108 bonus
109 bShortAtkRate,20;
110 bonus
111 bLongAtkRate,20;
112 }
113 if
114 (.@r
115 =12)
116 {
117 bonus3
118 bAutoSpellWhenHit,"CR_ACIDDEMONSTRATION",max(getskilllv("CR_ACIDDEMONSTRATION"),1),500;
119 bonus3
120 bAutoSpellWhenHit,"GN_SPORE_EXPLOSION",max(getskilllv("GN_SPORE_EXPLOSION"),1),500;
121 bonus3
122 bAutoSpellWhenHit,"GN_CARTCANNON",max(getskilllv("GN_CARTCANNON"),1),500;
123 bonus4
124 bAutoSpellOnSkill,"GN_CART_TORNADO","BO_EXPLOSIVE_POWDER",max(getskilllv("BO_EXPLOSIVE_POWDER"),1),700;
125 /*Todo
126 :
127 When
128 using
129 Cart
130 Tornado
131 Lv10,
132 there
133 is
134 a
135 70%
136 chance
137 that
138 Explosive
139 Powder
140 Lv1
141 will
142 be
143 activated
144 (No
145 Bonus
146 or
147 I
148 Don't
149 Know
150 How
151 to
152 Write)*/
153 }
154 } |