1
0

start implement random action

This commit is contained in:
andrea
2025-08-01 23:49:39 +02:00
parent 8ed1bd3c4f
commit eb3b7da07a
3 changed files with 45 additions and 18 deletions

View File

@@ -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