Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus bAtkRate,5;
bonus bPow,2;
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",5;
if (.@r>=5) {
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",10;
if (.@r>=7) {
bonus bShortAtkRate,5;
if (.@r>=9) {
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",10;
if (.@r>=10) {
bonus bCritical,10;
if (.@r>=11) {
bonus2 bSkillAtk,"IQ_FIRST_BRAND",15;
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",5;
}
}
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bShortAtkRate,10;
if (.@g>=ENCHANTGRADE_C) {
bonus2 bAddSize,Size_All,10;
if (.@g>=ENCHANTGRADE_B) {
bonus2 bAddRace,RC_All,10;
if (.@g>=ENCHANTGRADE_A) {
bonus2 bAddEle,Ele_All,10;
}
}
}
} |