Whenever a combat value needs to be calculated for any game effect, the controller of the character whose value needs to be calculated starts with the printed value, applies all replacement values in any order, then applies the sum of all modifiers to arrive at a final result. Remember that a locked replacement value will override any other replacement values and modifiers.