Item Use Script |
.@r = getrefine();
.@g = getenchantgrade();
bonus bMatk,150+(15*(.@r/2));
if (.@r>=7) {
bonus bMatkRate,10;
if (.@r>=9) {
bonus2 bMagicAddSize,Size_All,15;
if (.@r>=11) {
bonus bUnbreakableArmor;
if (.@r>=13) {
bonus2 bAddClass,Class_Boss,10;
}
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMatk,2*(.@r/2);
bonus2 bMagicAddClass,Class_Boss,.@r/4;
}
if (.@g>=ENCHANTGRADE_C) {
bonus bMatk,3*(.@r/2);
bonus bMatkRate,.@r/2;
bonus2 bMagicAddClass,Class_Boss,.@r/4;
}
if (.@g>=ENCHANTGRADE_B) {
bonus bMatk,3*(.@r/2);
bonus bMatkRate,.@r/2;
bonus2 bMagicAddClass,Class_Boss,.@r/4;
}
if (.@g>=ENCHANTGRADE_A) {
bonus bSMatk,.@r/2;
bonus bMatkRate,2*(.@r/2);
bonus2 bMagicAddClass,Class_Boss,.@r/4;
} |