Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bCritical,4;
bonus bPow,1;
bonus bCon,1;
bonus bBaseAtk,4*(.@r/2);
bonus bCritAtkRate,(.@r/3);
bonus bCrt,(.@r/3);
if (.@r>=7) {
bonus bVariableCastrate,-5;
bonus bCRate,3;
if (.@r>=9) {
bonus bAspdRate,10;
if (.@r>=11) {
bonus bDelayrate,-10;
bonus bPAtk,2;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMRes,25;
bonus bRes,25;
if (.@g>=ENCHANTGRADE_C) {
bonus bShortAtkRate,7;
bonus bLongAtkRate,7;
bonus bCritical,7;
if (.@g>=ENCHANTGRADE_B) {
bonus bCRate,1;
bonus bPow,5;
bonus bCon,5;
bonus bCrt,3;
if (.@g>=ENCHANTGRADE_A) {
bonus bCritAtkRate,10;
bonus bCRate,3;
}
}
}
} |