Item Use Script |
.@r = getrefine();
.@stats= (readparam(bStr)+readparam(bAgi)+readparam(bVit)+readparam(bInt)+readparam(bDex)+readparam(bLuk));
.@a = .@stats/100;
.@b = .@stats/300;
.@c = .@stats/400;
.@d = .@stats/500;
.@e = .@stats/600;
bonus2 bSubClass,Class_Boss,5;
bonus2 bSubClass,Class_Normal,5;
bonus2 bSubRace,RC_Player_Human,5;
bonus bAtkRate,5*.@a;
bonus bMatkRate,5*.@a;
bonus bCriticalRate,5*.@a;
bonus bMaxHPrate,20*.@b;
bonus bMaxSPrate,20*.@b;
bonus bAspdRate,15*.@c;
bonus bDelayrate,-15*.@c;
bonus bPerfectHitAddRate,25*.@d;
bonus bFixedCastrate,-70*.@d;
autobonus "{ bonus bFlee2,95; }",100*.@e,10000,BF_WEAPON|BF_MAGIC;
/*Unknown Rate*/
if (.@r>=7) {
bonus bDef,150;
bonus bMdef,15;
}
if (.@r>=9) {
bonus bDef,150;
bonus bMdef,15;
} |