Item Use Script |
.@r = getrefine();
.@g = getenchantgrade();
bonus bMdef,15;
bonus bAtkRate,5+(.@r/2);
bonus bMatkRate,5+(.@r/2);
bonus bPAtk,.@r/3;
bonus bSMatk,.@r/3;
bonus bLongAtkDef,5;
bonus2 bSubEle,Ele_Neutral,5;
if (.@r>=11) {
bonus2 bSubEle,Ele_All,10;
bonus2 bSubEle,Ele_Neutral,-10;
if (.@r>=13) {
bonus bDelayrate,-6;
bonus bFixedCast,-600;
}
}
if (.@g >= ENCHANTGRADE_D) {
bonus bRes,30;
bonus bMRes,30;
if (.@g >= ENCHANTGRADE_C) {
bonus bLongAtkDef,5;
bonus2 bSubEle,Ele_Neutral,5;
if (.@g >= ENCHANTGRADE_B) {
bonus bDelayrate,-4;
bonus bFixedCast,-200;
if (.@g >= ENCHANTGRADE_A) {
bonus2 bSubEle,Ele_All,5;
if (.@r>=13)
bonus bFixedCast,-200;
}
}
}
} |