def bestfriend_effect(engine, hero): hero.hp = hero.max_hp engine.hero = Objects.BestFriend(hero) engine.notify("Your Bro helped you!")