fix targeted_action
add a more robust damage hook
more preparations for the quest