mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 08:47:54 +00:00
yeah
This commit is contained in:
parent
518a9c6e0c
commit
d746a9cd13
1 changed files with 3 additions and 1 deletions
|
@ -309,8 +309,10 @@ class DistributedSuitInteriorAI(DistributedObjectAI.DistributedObjectAI):
|
|||
totalMaxHp = 0
|
||||
for suit in self.suits:
|
||||
totalMaxHp += suit.maxHP
|
||||
|
||||
for suit in deadSuits:
|
||||
self.activeSuits.remove(suit)
|
||||
|
||||
if len(self.reserveSuits) > 0 and len(self.activeSuits) < 4:
|
||||
self.joinedReserves = []
|
||||
hpPercent = 100 - (totalHp / totalMaxHp) * 100.0
|
||||
|
|
Loading…
Reference in a new issue