bonus bMatkRate,5; if (getrefine()>6) { bonus bMatkRate,3; } if (getrefine()>8) { bonus bMatkRate,2; }