Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bMatkRate,7;
bonus bMatk,200;
bonus2 bSkillAtk,"SS_RAIDENPOU",7;
bonus2 bSkillAtk,"SS_KINRYUUHOU",7;
bonus2 bSkillAtk,"NJ_KOUENKA",2*(.@r/2);
bonus2 bSkillAtk,"NJ_HYOUSENSOU",2*(.@r/2);
bonus2 bSkillAtk,"NJ_HUUJIN",2*(.@r/2);
if (.@r>=7) {
bonus bVariableCastrate,-10;
if (.@r>=9) {
bonus2 bSkillAtk,"NJ_KOUENKA",20;
bonus2 bSkillAtk,"NJ_HYOUSENSOU",20;
bonus2 bSkillAtk,"NJ_HUUJIN",20;
if (.@r>=11) {
bonus2 bMagicAddRace,RC_All,10;
bonus2 bMagicAddRace,RC_Player_Human,-10;
bonus2 bMagicAddRace,RC_Player_Doram,-10;
}
}
}
if (.@g >= ENCHANTGRADE_D) {
bonus2 bSkillAtk,"SS_RAIDENPOU",5;
bonus2 bSkillAtk,"SS_KINRYUUHOU",5;
if (.@g >= ENCHANTGRADE_C) {
bonus bSMatk,1;
bonus2 bSkillAtk,"SS_RAIDENPOU",3;
bonus2 bSkillAtk,"SS_KINRYUUHOU",3;
if (.@g >= ENCHANTGRADE_B) {
bonus bSpl,1;
bonus2 bSkillAtk,"SS_RAIDENPOU",5;
bonus2 bSkillAtk,"SS_KINRYUUHOU",5;
}
}
} |