Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. def rec_damage(self, amount):
  2.     if amount>self._armor:
  3.         self._health  -=  amount-self._armor
  4.  
  5. def rec_damage(self, amount):
  6.     if amount>self._armor:
  7.         self._health  -=  amount-self._armor
  8.         return self._health
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement