.@r = getequiprefinerycnt(EQI_HEAD_TOP); if (.@r >= 7) { bonus bBaseAtk,4 + ( .@r >= 9 ) ? 2 : 0; bonus bHit,3 + ( .@r > 9 ) ? 1 : 0; }