.@r = getrefine();
bonus bSPrecovRate,6*(.@r/2);
bonus bMatkRate,2*(.@r/2);
if (.@r>=7) {
   bonus bAllStats,3;
}
if (.@r>=9) {
   bonus bVariableCastrate,-10;
}
if (.@r>=11) {
   bonus2 bMagicAtkEle,Ele_Neutral,20;
   bonus2 bMagicAtkEle,Ele_Earth,20;
   bonus2 bMagicAtkEle,Ele_Water,20;
}