| Item Use Script |
1 .@r
2 =
3 getrefine();
4 bonus
5 bMdef,15;
6 if
7 (BaseJob
8 ==
9 Job_Dancer
10 ||
11 BaseJob
12 ==
13 Job_Rogue
14 ||
15 BaseJob
16 ==
17 Job_Monk
18 ||
19 BaseJob
20 ==
21 Job_Assassin)
22 {
23 bonus
24 bBaseAtk,16*(.@r/2);
25 bonus
26 bMatk,16*(.@r/2);
27 bonus2
28 bExpAddRace,RC_All,6*(.@r/4);
29 if
30 (.@r
31 =7)
32 {
33 bonus2
34 bAddClass,Class_All,8;
35 bonus
36 bMatkRate,8;
37 if
38 (.@r
39 =9)
40 {
41 bonus
42 bShortAtkRate,14;
43 bonus
44 bLongAtkRate,14;
45 bonus2
46 bMagicAtkEle,Ele_All,14;
47 if
48 (.@r
49 =13)
50 {
51 bonus2
52 bIgnoreDefClassRate,Class_Normal,20;
53 bonus2
54 bIgnoreMdefClassRate,Class_Normal,20;
55 }
56 }
57 }
58 }
59 else
60 {
61 bonus
62 bBaseAtk,8*(.@r/2);
63 bonus
64 bMatk,8*(.@r/2);
65 bonus2
66 bExpAddRace,RC_All,3*(.@r/4);
67 if
68 (.@r
69 =7)
70 {
71 bonus2
72 bAddClass,Class_All,4;
73 bonus
74 bMatkRate,4;
75 if
76 (.@r
77 =9)
78 {
79 bonus
80 bShortAtkRate,7;
81 bonus
82 bLongAtkRate,7;
83 bonus2
84 bMagicAtkEle,Ele_All,7;
85 if
86 (.@r
87 =13)
88 {
89 bonus2
90 bIgnoreDefClassRate,Class_Normal,10;
91 bonus2
92 bIgnoreMdefClassRate,Class_Normal,10;
93 }
94 }
95 }
96 } |