Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bSpl,2;
bonus bCon,2;
bonus bUseSPrate,15;
bonus bMatk,5*(.@r/2);
bonus2 bMagicAtkEle,Ele_All,2*(.@r/3);
if (.@r>=7) {
bonus bVariableCastrate,-10;
if (.@r>=9) {
bonus bAspdRate,5;
bonus bVariableCastrate,-5;
if (.@r>=11) {
bonus bDelayrate,-10;
bonus bSMatk,2;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMRes,25;
bonus bRes,25;
if (.@g>=ENCHANTGRADE_C) {
bonus2 bMagicAtkEle,Ele_All,7;
bonus bMatkRate,7;
if (.@g>=ENCHANTGRADE_B) {
bonus bSMatk,3;
bonus bDef,50;
bonus bSpl,5;
bonus bCon,5;
if (.@g>=ENCHANTGRADE_A) {
bonus2 bMagicAddEle,Ele_All,5;
bonus bSMatk,5;
}
}
}
} |