Item Use Script |
.@r = getrefine();
.@g = getenchantgrade();
bonus bMaxHPrate,20;
bonus bMaxHP,500*(.@r/2);
bonus bVit,8*(.@r/2);
bonus2 bSkillAtk,"RK_DRAGONBREATH",20*(.@r/3);
bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",20*(.@r/3);
bonus2 bSkillAtk,"LG_EARTHDRIVE",20*(.@r/3);
bonus2 bSkillAtk,"LG_SHIELDPRESS",20*(.@r/3);
if (.@r>=9) {
bonus bMaxHP,5000;
}
if (.@r>=11)
bonus2 bSubRace,RC_All,10;
if (.@r>=13)
bonus bDelayrate,-15;
if (.@g>=ENCHANTGRADE_D) {
bonus bVit,3*(.@r/2);
bonus bLongAtkRate,3*(.@r/3);
bonus bShortAtkRate,3*(.@r/3);
}
if (.@g>=ENCHANTGRADE_C) {
bonus bMaxHPrate,3*(.@r/3);
}
if (.@g>=ENCHANTGRADE_B) {
bonus bVit,5*(.@r/2);
bonus bLongAtkRate,5*(.@r/3);
bonus bShortAtkRate,5*(.@r/3);
}
if (.@g>=ENCHANTGRADE_A) {
bonus bMaxHPrate,5*(.@r/3);
if (.@r>=13) {
bonus2 bSubRace,RC_All,10;
}
} |