Place c_setminmax(me); in the character's action.