Item Use Script |
.@r = getrefine();
.@g = getenchantgrade();
bonus bDelayrate,-3;
bonus bAspdRate,3;
bonus bBaseAtk,10*(.@r/2);
bonus bMatk,10*(.@r/2);
if (.@r>=7) {
bonus bDelayrate,-3;
bonus bAspdRate,3;
}
if (.@r>=9) {
bonus bAtkRate,10;
bonus bMatkRate,10;
}
if (.@r>=12) {
bonus bDelayrate,-4;
bonus bAspd,2;
}
if (.@g>=ENCHANTGRADE_D) {
bonus bPow,2;
bonus bSpl,2;
}
if (.@g>=ENCHANTGRADE_C) {
bonus bPAtk,5;
bonus bSMatk,5;
}
if (.@g>=ENCHANTGRADE_B) {
bonus2 bAddSize,Size_All,4*(.@r/3);
bonus2 bMagicAddSize,Size_All,4*(.@r/3);
}
if (.@g>=ENCHANTGRADE_A) {
if (.@r>=13) {
bonus2 bResEff,Eff_Freeze,10000;
bonus2 bResEff,Eff_Sleep,10000;
bonus2 bResEff,Eff_Stone,10000;
bonus2 bResEff,Eff_Stun,10000;
}
} |