Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus bMatkRate,5;
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE",10;
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
bonus2 bSkillAtk,"AG_FROZEN_SLASH",10;
bonus2 bSkillAtk,"AG_ROCK_DOWN",10;
if (.@r>=7) {
bonus2 bMagicAtkEle,Ele_Water,10;
bonus2 bMagicAtkEle,Ele_Earth,10;
if (.@r>=9) {
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE",10;
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
bonus2 bSkillAtk,"AG_FROZEN_SLASH",10;
bonus2 bSkillAtk,"AG_ROCK_DOWN",10;
if (.@r>=11) {
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE",10;
bonus2 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
bonus2 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
bonus2 bSkillAtk,"AG_FROZEN_SLASH",10;
bonus2 bSkillAtk,"AG_ROCK_DOWN",10;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus2 bMagicAddSize,Size_Small,15;
if (.@g>=ENCHANTGRADE_C) {
bonus2 bMagicAddSize,Size_Medium,15;
if (.@g>=ENCHANTGRADE_B) {
bonus2 bMagicAddSize,Size_Large,15;
if (.@g>=ENCHANTGRADE_A) {
bonus bSMatk,5;
}
}
}
} |