.@r = getrefine();
.@lvl = getskilllv("WM_GLOOMYDAY");
if (.@r >= 7) {
   .@val = 10;
} else if (.@r >= 5) {
   .@val = 5;
}
else {
   .@val = 2;
}
bonus bMaxHPrate,.@val;
bonus bMaxSPrate,.@val;
bonus bMatkRate,.@val+(4*.@lvl);
bonus2 bSubRace,RC_Player_Human,5;
bonus2 bSubRace,RC_Player_Doram,5;
bonus2 bSkillAtk,"WM_METALICSOUND",4*.@lvl;
if (getskilllv("WM_FRIGG_SONG") == 5) {
   bonus2 bSkillCooldown,"WM_METALICSOUND",-200;
   bonus bAspdRate,10;
}
if (getskilllv("WM_LULLABY_DEEPSLEEP") == 5) {
   skill "AL_HEAL",10;
   bonus bMagicHPGainValue,200;
   bonus bMagicSPGainValue,20;
}