.@bonus = 5; .@type = getiteminfo(getequipid(EQI_COMPOUND_ON),11); if (.@type == W_DAGGER) { .@r = getrefine(); if (.@r>=10) { .@bonus += 20; } if (.@r>=14) { .@bonus += 20; } } bonus bBaseAtk,.@bonus; bonus bMatk,.@bonus;