.@r = getrefine();
bonus bMdef,15;
bonus bFixedCastrate,-7*.@r;
bonus bDelayrate,-10;
bonus2 bSkillAtk,"SO_EARTHGRAVE",10;
bonus2 bSkillAtk,"SO_DIAMONDDUST",10;
bonus bVariableCastrate,-6*getskilllv("SO_EL_SYMPATHY");
if (getskilllv("SO_WARMER") >= 5) {
   bonus2 bSkillCooldown,"SO_EARTHGRAVE",-1000;
   bonus2 bSkillCooldown,"SO_DIAMONDDUST",-1000;
   bonus2 bSkillCooldown,"SO_VARETYR_SPEAR",-1000;
}
if (getskilllv("SO_ELEMENTAL_SHIELD") >= 5)
   bonus2 bMagicAddClass,Class_Boss,25;
if (.@r>=7) {
   bonus2 bSkillAtk,"SO_EARTHGRAVE",15;
   bonus2 bSkillAtk,"SO_DIAMONDDUST",15;
   bonus bDelayrate,-5;
}
if (.@r>=9) {
   bonus bDelayrate,-5;
   bonus2 bSkillAtk,"SO_EARTHGRAVE",25;
   bonus2 bSkillAtk,"SO_DIAMONDDUST",25;
}
if (.@r>=10)
   bonus bIgnoreMdefRace,RC_All;