Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus2 bSkillAtk,"SP_CURSEEXPLOSION",10;
bonus bMatk,12*(.@r/3);
if (.@r>=7) {
bonus2 bSkillAtk,"SP_CURSEEXPLOSION",20;
if (.@r>=9) {
bonus2 bMagicAddSize,Size_All,15;
if (.@r>=11) {
bonus2 bSkillAtk,"SP_CURSEEXPLOSION",25;
if (.@r>=12) {
bonus2 bMagicAtkEle,Ele_Dark,15;
}
}
}
}
if (.@g >= ENCHANTGRADE_D) {
if (.@r>=11) {
bonus2 bMagicAddEle,Ele_All,15;
}
}
if (.@g >= ENCHANTGRADE_C) {
bonus2 bSkillAtk,"SP_CURSEEXPLOSION",15;
if (.@g >= ENCHANTGRADE_B) {
bonus bMatkRate,7;
if (.@g >= ENCHANTGRADE_A) {
bonus bSMatk,(.@r/3);
bonus bSpl,(.@r/3);
}
}
} |