Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bSpl,5;
bonus bCon,3;
bonus bUseSPrate,15;
bonus bMatk,7*(.@r/3);
if (.@r>=7) {
bonus bSMatk,3;
bonus bMatkRate,5;
if (.@r>=9) {
bonus bVariableCastrate,-10;
if (.@r>=11) {
bonus2 bMagicAddSize,Size_Medium,15;
bonus2 bMagicAddSize,Size_Large,15;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMatkRate,5;
bonus bSpl,5;
if (.@g>=ENCHANTGRADE_C) {
bonus bFixedCast,-1000;
if (.@g>=ENCHANTGRADE_B) {
bonus bSMatk,7;
if (.@g>=ENCHANTGRADE_A) {
bonus bSpl,8*(.@r/2);
}
}
}
} |