forked from Cryz/battle_royale_sim
start implement random action
This commit is contained in:
@@ -9,7 +9,7 @@ class BrSimPlayer(_resource.BrSimResource):
|
||||
self.id= str(_uuid.uuid4())
|
||||
self.name= name
|
||||
self.stats= ''
|
||||
self.health= _random.randint(1,3)
|
||||
self.health= _random.randint(1,1)
|
||||
self.inventory= inventory or []
|
||||
self.damage= _random.randint(1,2) # this is the punch damage amount
|
||||
self.max_weight= 5 # this is the max inventory weight
|
||||
|
||||
Reference in New Issue
Block a user