<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_damage(self, amount: int, target) -> int: 		""" 		Override to modify the damage dealt to a target from the given amount. 		"""

		if target.immune:
			self.log("%r is immune to %s for %i damage", target, self, amount)
			return 0
		return amount