Exemple #1
0
 def heal(self, target):
     self.validify()
     if not isinstance(target, Bot):
         raise TypeError('target should be of [Bot]')
     target.validify()
     return library.botHeal(self.ptr, target.ptr)
Exemple #2
0
 def heal(self, target):
   self.validify()
   if not isinstance(target, Bot):
     raise TypeError('target should be of [Bot]')
   target.validify()
   return library.botHeal(self.ptr, target.ptr)
Exemple #3
0
 def heal(self, target):
   self.validify()
   if target.__class__ not in [Bot]:
     raise TypeError('target should be of [Bot]')
   target.validify()
   return library.botHeal(self.ptr, target.ptr)