.@r = getrefine();
.@mdef = 15;
.@hp = 10;
.@dmg = 10;
.@cast = -10;
bonus2 bFixedCastrate,"LG_OVERBRAND",-100;
if (.@r>=7) {
   .@cast -= 5;
   .@dmg += 15;
   if (.@r>=9) {
      .@cast -= 5;
      .@dmg += 25;
      if (.@r>=10) {
         bonus bIgnoreDefRace,RC_All;
      }
   }
}
if (getskilllv("LG_KINGS_GRACE")>=5) {
   bonus2 bSkillCooldown,"LG_INSPIRATION",-10000;
   bonus2 bSkillVariableCast,"LG_INSPIRATION",-2000;
}
if (getskilllv("LG_MOONSLASHER")>=5) {
   bonus2 bSkillVariableCast,"LG_OVERBRAND",-1000;
}
if (getskilllv("LG_FORCEOFVANGUARD")>=5) {
   .@hp += 10;
   .@mdef += 15;
   bonus bMaxSPrate,10;
   bonus bDef,150;
}
bonus bMdef,.@mdef;
bonus bMaxHPrate,.@hp;
bonus2 bSkillAtk,"LG_OVERBRAND",.@dmg;
bonus bVariableCastrate,.@cast;