Item Use Script
|
1 .@str = readparam(bStr);
2 .@agi = readparam(bAgi);
3 .@vit = readparam(bVit);
4 .@int = readparam(bInt);
5 .@dex = readparam(bDex);
6 .@luk = readparam(bLuk);
7 bonus bAllStats,1;
8 if(getrefine()>=10) {
9 if (.@str>=100) {
10 if (.@str>=120) {
11 bonus bMaxHPrate,7;
12 bonus bMaxSPrate,7;
13 }
14 else {
15 bonus bMaxHPrate,5;
16 bonus bMaxSPrate,5;
17 }
18 }
19 if (.@agi>=100) {
20 if (.@agi>=120)
21 bonus bAspd,1;
22 else
23 bonus bAspdRate,8;
24 }
25 if (.@vit>=100) {
26 if (.@vit>=120)
27 bonus2 bAddSize,Size_Medium,15;
28 else
29 bonus2 bAddSize,Size_Medium,10;
30 }
31 if (.@int>=100) {
32 if (.@int>=120)
33 bonus bFixedCast,-500;
34 else
35 bonus bFixedCastrate,-30;
36 }
37 if (.@dex>=100) {
38 if (.@dex>=120)
39 bonus bDelayrate,-5;
40 else
41 bonus bDelayrate,-3;
42 }
43 if (.@luk>=100) {
44 if (.@luk>=120) {
45 bonus bCritical,7;
46 bonus bFlee2,1;
47 }
48 else
49 bonus bCritical,5;
50 }
51 }
|