1 .@r = getrefine();
2 .@val = 5;
3 if (.@r >= 9) {
4 .@val += 10;
5 } else if (.@r >= 7) {
6 .@val += 5;
7 }
8 bonus bHealPower,.@val;