Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
if (BaseLevel>=210) {
bonus bPAtk,1;
bonus bPow,2;
}
if (.@r>=7) {
bonus bVariableCastrate,-10;
bonus2 bSkillAtk,"KO_HUUMARANKA",30;
if (.@r>=9) {
bonus2 bSkillCooldown,"KO_HUUMARANKA",-2000;
bonus2 bSkillAtk,"KO_HUUMARANKA",15;
if (.@r>=11) {
bonus2 bAddEle,Ele_Fire,25;
bonus2 bAddEle,Ele_Dark,25;
bonus2 bAddEle,Ele_Holy,25;
bonus2 bAddEle,Ele_Undead,25;
bonus2 bAddRace,RC_Undead,25;
bonus2 bAddRace,RC_Angel,25;
bonus2 bAddRace,RC_Demon,25;
bonus2 bAddRace,RC_Dragon,25;
}
}
}
if (.@g >= ENCHANTGRADE_D) {
bonus bAtkRate,3;
if (.@g >= ENCHANTGRADE_C) {
bonus bLongAtkRate,15;
bonus bPAtk,1;
if (.@g >= ENCHANTGRADE_B) {
bonus bPAtk,2;
bonus bPow,3;
}
}
}
bonus bBaseAtk,15*(.@r/2);
bonus bLongAtkRate,4*(.@r/3); |