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