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

@@ -44,7 +44,7 @@ public sealed class ProjectileSystem : SharedProjectileSystem
return;
}
var ev = new ProjectileHitEvent(component.Damage, target, component.Shooter);
var ev = new ProjectileHitEvent(component.Damage * _damageableSystem.UniversalProjectileDamageModifier, target, component.Shooter);
RaiseLocalEvent(uid, ref ev);
var otherName = ToPrettyString(target);