Age | Commit message (Collapse) | Author |
|
This is a quick fix that will redirect the attacker entity to a proper NPC owned by the player.
By default behavior of the game, attackers are always the final entity in the owning hiearchy, which is always a player if owned NPCs kills enemies.
This change properly redirects the code to the correct NPC whenever they have an owning player.
|
|
Prevent suicides registering stats
|
|
(#767)
|
|
|
|
Fixes wrong attacker receiving stat updates
|
|
Some game modes like Gun Game or Infection are not considered valid yet, causing the warning message to be spammed in the logs.
Necessary work should be done to add the modes to the list of valid modes. Until we will just comment out the print statement in order to prevent log spam.
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
|
|
Titans stores damage history in their Soul component, not the NPC itself, probably due to how game handles pilot/auto-titan interaction with the Titan entities.
This means that we weren't awarding assist stats properly for titan assists
|
|
Exposes the previously hidden string argument in the `UpdatePlayerStat` function, that is needed to track some things more easily when hooking stats.
|
|
Use `WinnerDetermined` instead of `Epilogue` to grant stats as some modes (like LTS) don't go into `eGameState.Epilogue` apparently.
`eGameState.WinnerDetermined` should be better
|
|
This also can't hurt right?
---------
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
|
|
|