Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bAtkRate,5;
bonus bPow,2;
bonus2 bSkillAtk,"DK_HACKANDSLASHER",5;
if (.@r>=5) {
bonus2 bSkillAtk,"DK_HACKANDSLASHER",10;
if (.@r>=7) {
bonus bShortAtkRate,5;
if (.@r>=9) {
bonus2 bSkillAtk,"DK_HACKANDSLASHER",10;
if (.@r>=10) {
bonus bAspdRate,10;
if (.@r>=11) {
bonus2 bSkillAtk,"DK_STORMSLASH",15;
bonus2 bSkillAtk,"DK_HACKANDSLASHER",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;
}
}
}
} |