Add ability for +VVEDIT users to scale damage/healing in the game (#35255)

* Initial commit

* Add universal modifier for all damage/heals, make guidebooks work.

* help text
This commit is contained in:
SlamBamActionman
2025-02-18 08:28:42 +01:00
committed by GitHub
parent 2764638763
commit 3200ba88a5
16 changed files with 253 additions and 19 deletions

View File

@@ -464,7 +464,7 @@ public sealed partial class ExplosionSystem
}
// TODO EXPLOSIONS turn explosions into entities, and pass the the entity in as the damage origin.
_damageableSystem.TryChangeDamage(entity, damage, ignoreResistances: true);
_damageableSystem.TryChangeDamage(entity, damage * _damageableSystem.UniversalExplosionDamageModifier, ignoreResistances: true);
}
}