Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bBaseAtk,140;
bonus bPow,(.@r/2);
bonus bCon,(.@r/2);
if (.@r>=7) {
bonus bPAtk,2;
bonus bAtkRate,3;
if (.@r>=9) {
bonus bDelayrate,-5;
bonus bVariableCastrate,-5;
if (.@r>=11) {
bonus bLongAtkRate,10;
bonus bShortAtkRate,10;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bAtkRate,5;
bonus bPow,5;
bonus bCon,5;
if (.@g>=ENCHANTGRADE_C) {
bonus bLongAtkRate,10;
bonus bShortAtkRate,10;
if (.@g>=ENCHANTGRADE_B) {
bonus bAtkRate,1;
if (.@g>=ENCHANTGRADE_A) {
bonus bAtkRate,2;
}
}
}
} |