mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
respawn toggle
toggling respawn, auto parachute height changer changer, fixed issue with characterparts, fixed lategame on s8, added cheat commands
This commit is contained in:
@@ -699,6 +699,7 @@ void AFortPlayerController::ServerAttemptAircraftJumpHook(AFortPlayerController*
|
||||
{
|
||||
static auto StormEffectClass = FindObject<UClass>(L"/Game/Athena/SafeZone/GE_OutsideSafeZoneDamage.GE_OutsideSafeZoneDamage_C");
|
||||
auto PlayerState = PlayerController->GetPlayerStateAthena();
|
||||
|
||||
PlayerState->GetAbilitySystemComponent()->RemoveActiveGameplayEffectBySourceEffect(StormEffectClass, 1, PlayerState->GetAbilitySystemComponent());
|
||||
}
|
||||
|
||||
@@ -1324,6 +1325,10 @@ void AFortPlayerController::ClientOnPawnDiedHook(AFortPlayerController* PlayerCo
|
||||
int MaxHealth = 100;
|
||||
int MaxShield = 100;
|
||||
int AmountGiven = 0;
|
||||
/*
|
||||
int ShieldGiven = 0;
|
||||
int HealthGiven = 0;
|
||||
*/
|
||||
|
||||
if ((MaxHealth - Health) > 0)
|
||||
{
|
||||
@@ -1343,6 +1348,11 @@ void AFortPlayerController::ClientOnPawnDiedHook(AFortPlayerController* PlayerCo
|
||||
AmountGiven += AmountToGive;
|
||||
}
|
||||
}
|
||||
|
||||
if (AmountGiven > 0)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user