Update hero.js

Added a smarter assassin that takes into account its chances of survival to decide when to try and heal or just stand and fight.