Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bCritical,-20;
bonus bPow,2;
bonus bCon,2;
bonus bBaseAtk,5*(.@r/2);
bonus bLongAtkRate,2*(.@r/3);
if (.@r>=7) {
bonus bVariableCastrate,-10;
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 bLongAtkRate,7;
bonus bAtkRate,7;
if (.@g>=ENCHANTGRADE_B) {
bonus bPAtk,3;
bonus bDef,50;
bonus bPow,5;
bonus bCon,5;
if (.@g>=ENCHANTGRADE_A) {
bonus2 bAddEle,Ele_All,5;
bonus bPAtk,5;
}
}
}
} |