SHA256
forked from Cryz/battle_royale_sim
other player methods
This commit is contained in:
1 parent
3f340fcd2c
commit
bb396ae8d3
2 files changed
+13
-1
No files matched your search
@@ -18,3 +18,14 @@ class BrSimPlayer():
|
||||
rnd= _random.randint(0, 100)
|
||||
if rnd > self.agility: return True
|
||||
return False
|
||||
|
||||
def steal(self):
|
||||
#XXX can steal from death players or from sleeping players
|
||||
pass
|
||||
|
||||
def heal(self):
|
||||
#XXX if you have a wound and you have a medikit item, you can heal your wound or sickness
|
||||
pass
|
||||
|
||||
def get_inventory(self):
|
||||
return self.inventory
|
||||
Reference in new issue
Block a user