s5 killfeed + picking up, s18+ ziplines, some team stuff, s19 30 packets
This commit is contained in:
Milxnor
2023-03-31 22:56:03 -04:00
parent fbfb6bbe54
commit a03c1cef2b
9 changed files with 234 additions and 16 deletions

View File

@@ -60,6 +60,13 @@ APawn* AGameModeBase::SpawnDefaultPawnForHook(AGameModeBase* GameMode, AControll
{
auto NewPlayerAsAthena = Cast<AFortPlayerControllerAthena>(NewPlayer);
/* if (Fortnite_Version >= 18)
{
static auto StormEffectClass = FindObject<UClass>("/Game/Athena/SafeZone/GE_OutsideSafeZoneDamage.GE_OutsideSafeZoneDamage_C");
auto PlayerState = NewPlayerAsAthena->GetPlayerStateAthena();
PlayerState->GetAbilitySystemComponent()->RemoveActiveGameplayEffectBySourceEffect(StormEffectClass, 1, PlayerState->GetAbilitySystemComponent());
} */
if (NewPlayerAsAthena)
{
auto WorldInventory = NewPlayerAsAthena->GetWorldInventory();