playerMovementSpeed,playerCrouchSpeed in the player component now also gets AssaultBoosted.
This commit is contained in:
@@ -30,8 +30,8 @@ bool HealthSystem::OnPlayerDamaged(Events::PlayerDamage& e)
|
||||
|
||||
ComponentWrapper cHealth = e.Victim["Health"];
|
||||
double& health = cHealth["Health"];
|
||||
if (e.Player.HasComponent("BoostDefender")) {
|
||||
e.Damage -= (double)e.Player["BoostDefender"]["StrengthOfEffect"];
|
||||
if (e.Victim.HasComponent("BoostDefender")) {
|
||||
e.Damage -= (double)e.Victim["BoostDefender"]["StrengthOfEffect"];
|
||||
}
|
||||
health -= e.Damage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user