Simply adding the action value of your IA to a float type variable would do. That way it would only decrease on negative input value.
Simply adding the action value of your IA to a float type variable would do. That way it would only decrease on negative input value.