.@r = getrefine();
bonus bUnbreakableShield;
bonus bMdef,5;
bonus2 bSubEle,Ele_Water,10;
bonus2 bAddEle,Ele_Water,5;
bonus2 bMagicAddEle,Ele_Water,5;
if (.@r>=6) {
   bonus2 bSubEle,Ele_Water,15;
   bonus2 bAddEle,Ele_Water,10;
   bonus2 bMagicAddEle,Ele_Water,10;
}
if (.@r>=8) {
   if (readparam(bStr)>=90)
      bonus bBaseAtk,50;
   if (readparam(bAgi)>=90)
      bonus bAspdRate,5;
   if (readparam(bInt)>=90)
      bonus bMatk,30;
   if (readparam(bVit)>=90)
      bonus bAddItemHealRate,10;
   if (readparam(bDex)>=90)
      bonus bVariableCastrate,-5;
   if (readparam(bLuk)>=90)
      bonus bCritAtkRate,5;
}