fixed the damager when a ranged attack is used by a MyPet
fixes #181