Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
if (BaseLevel>=210) {
bonus bSMatk,1;
bonus bSpl,2;
}
if (.@r>=7) {
bonus bVariableCastrate,-10;
bonus2 bSkillAtk,"SP_SPA",25;
if (.@r>=9) {
bonus2 bSkillAtk,"SP_SWHOO",45;
bonus2 bSkillAtk,"SP_SPA",15;
if (.@r>=11) {
bonus2 bMagicAddSize,Size_All,15;
bonus2 bSPRegenRate,230,5000;
}
}
}
if (.@g >= ENCHANTGRADE_D) {
bonus bMatkRate,3;
if (.@g >= ENCHANTGRADE_C) {
bonus2 bMagicAtkEle,Ele_All,15;
bonus bSMatk,1;
if (.@g >= ENCHANTGRADE_B) {
bonus bSMatk,2;
bonus bSpl,3;
}
}
}
bonus bMatk,15*(.@r/2);
bonus2 bMagicAtkEle,Ele_All,3*(.@r/3); |