1 .@bonus = 5;
2 .@type = getiteminfo(getequipid(EQI_COMPOUND_ON), ITEMINFO_VIEW);
3 if (.@type == W_DAGGER) {
4 .@r = getrefine();
5 if (.@r>=10) {
6 .@bonus += 20;
7 }
8 if (.@r>=14) {
9 .@bonus += 20;
10 }
11 }
12 bonus bBaseAtk,.@bonus;
13 bonus bMatk,.@bonus;