Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus bMatkRate,5;
bonus bSpl,2;
bonus2 bSkillAtk,"SS_ANTENPOU",5;
if (.@r>=5) {
bonus2 bSkillAtk,"SS_ANTENPOU",10;
if (.@r>=7) {
bonus2 bMagicAtkEle,Ele_Fire,5;
bonus2 bMagicAtkEle,Ele_Dark,5;
if (.@r>=9) {
bonus2 bSkillAtk,"SS_ANTENPOU",10;
if (.@r>=10) {
bonus bVariableCastrate,-10;
if (.@r>=11) {
bonus2 bSkillAtk,"SS_SEKIENHOU",15;
bonus2 bSkillAtk,"SS_ANTENPOU",5;
}
}
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus2 bMagicAtkEle,Ele_Fire,10;
bonus2 bMagicAtkEle,Ele_Dark,10;
if (.@g>=ENCHANTGRADE_C) {
bonus2 bMagicAddSize,Size_All,10;
if (.@g>=ENCHANTGRADE_B) {
bonus2 bMagicAddRace,RC_All,10;
bonus2 bMagicAddRace,RC_Player_Human,-10;
bonus2 bMagicAddRace,RC_Player_Doram,-10;
if (.@g>=ENCHANTGRADE_A) {
bonus2 bMagicAddEle,Ele_All,10;
}
}
}
} |