bonus bMdef,8;
bonus bUnbreakableHelm,1;
bonus2 bAddItemHealRate,579,50;
bonus2 bAddItemHealRate,544,125;
bonus2 bAddItemHealRate,551,125;
.@r = getrefine();
if (.@r>=5) {
   bonus2 bAddItemHealRate,579,50;
   bonus2 bAddItemHealRate,544,125;
   bonus2 bAddItemHealRate,551,125;
}
if (.@r>=6) {
   bonus2 bAddItemHealRate,579,50;
   bonus2 bAddItemHealRate,544,125;
   bonus2 bAddItemHealRate,551,125;
}
if (.@r>=7) {
   bonus2 bAddItemHealRate,579,50;
   bonus2 bAddItemHealRate,544,125;
   bonus2 bAddItemHealRate,551,125;
}