code: def get_damage(self, amount: int, target) -> int:
  		
  		if target.immune:
  			self.log("%r is immune to %s for %i damage", target, self, amount)
  			return 0
  		return amount
docs: Override to modify the damage dealt to a target from the given amount.