| Item Use Script |
1 .@r
2 =
3 getrefine();
4 if
5 (BaseJob
6 ==
7 Job_Gunslinger)
8 {
9 bonus
10 bBaseAtk,2*(readparam(bDex)/9);
11 bonus
12 bMatk,2*(readparam(bInt)/9);
13 if
14 (.@r
15 =7)
16 {
17 bonus
18 bDef,10;
19 bonus
20 bMdef,15;
21 bonus2
22 bVariableCastrate,"GS_TRACKING",-30;
23 if
24 (.@r
25 =8)
26 {
27 bonus
28 bDelayrate,-10;
29 bonus
30 bCritical,10;
31 if
32 (.@r
33 =9)
34 {
35 bonus3
36 bAutoSpell,"GS_RAPIDSHOWER",2,70;
37 bonus
38 bLongAtkRate,5;
39 if
40 (.@r
41 =10)
42 {
43 bonus
44 bAllStats,2;
45 bonus
46 bMaxHPrate,3;
47 bonus
48 bMaxSPrate,3;
49 }
50 }
51 }
52 }
53 }
54 else
55 if
56 (BaseJob
57 ==
58 Job_Ninja)
59 {
60 bonus
61 bBaseAtk,2*(readparam(bStr)/9);
62 bonus
63 bMatk,2*(readparam(bInt)/9);
64 if
65 (.@r
66 =7)
67 {
68 bonus
69 bDef,10;
70 bonus
71 bMdef,15;
72 bonus
73 bLongAtkRate,5;
74 bonus2
75 bSkillAtk,"NJ_KAENSIN",50;
76 bonus2
77 bSkillAtk,"NJ_RAIGEKISAI",50;
78 if
79 (.@r
80 =8)
81 {
82 bonus
83 bMatk,15;
84 bonus
85 bBaseAtk,15;
86 bonus
87 bDelayrate,-10;
88 if
89 (.@r
90 =9)
91 {
92 bonus
93 bFlee,10;
94 bonus2
95 bVariableCastrate,"NJ_HUUMA",-20;
96 bonus2
97 bVariableCastrate,"NJ_KAENSIN",-20;
98 bonus2
99 bVariableCastrate,"NJ_RAIGEKISAI",-20;
100 if
101 (.@r
102 =10)
103 {
104 bonus
105 bAllStats,2;
106 bonus
107 bMaxHPrate,3;
108 bonus
109 bMaxSPrate,3;
110 }
111 }
112 }
113 }
114 } |