mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-09 07:00:27 +00:00
original squad leader did not have health or armor properly scaled to the field; squad vehicle stats no longer override individual squad member stats in ui (#479)
This commit is contained in:
parent
4da6f9d618
commit
765816a4d2
2 changed files with 3 additions and 10 deletions
|
|
@ -2230,8 +2230,8 @@ class SquadService extends Actor {
|
|||
val leadPosition = squad.Membership(0)
|
||||
leadPosition.Name = name
|
||||
leadPosition.CharId = player.CharId
|
||||
leadPosition.Health = player.Health
|
||||
leadPosition.Armor = player.Armor
|
||||
leadPosition.Health = StatConverter.Health(player.Health, player.MaxHealth, min=1, max=64)
|
||||
leadPosition.Armor = StatConverter.Health(player.Armor, player.MaxArmor, min=1, max=64)
|
||||
leadPosition.Position = player.Position
|
||||
leadPosition.ZoneId = 1
|
||||
squadFeatures += squad.GUID -> new SquadFeatures(squad).Start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue