Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bHit,-25;
bonus bPow,5;
bonus bCrt,5;
bonus bAspdRate,10;
bonus bBaseAtk,20*(.@r/2);
bonus bDef,10*(.@r/2);
if (.@r>=7) {
bonus bShortAtkRate,15;
bonus bLongAtkRate,15;
if (.@r>=9) {
bonus bAtkRate,10;
bonus bBaseAtk,30;
if (.@r>=11) {
bonus bCritAtkRate,25;
bonus bPAtk,8;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bAtkRate,5;
bonus bPow,5;
if (.@g>=ENCHANTGRADE_C) {
bonus bCRate,3;
bonus bCritical,15;
if (.@g>=ENCHANTGRADE_B) {
bonus bFixedCast,-300;
if (.@g>=ENCHANTGRADE_A) {
bonus bCritAtkRate,14*(.@r/3);
bonus bCRate,(.@r/3);
}
}
}
} |