Wall slams - Damage on high velocity impact. (#1600)

* Wallslammed!

* Removes debug logging

* Buff damage to 5 by default
This commit is contained in:
Víctor Aguilera Puerto
2020-08-07 16:22:32 +02:00
committed by GitHub
parent 8a66bf0284
commit 079937a9fe
9 changed files with 85 additions and 14 deletions

View File

@@ -49,10 +49,7 @@ namespace Content.Server.Atmos.Reactions
mixture.SetMoles(Gas.Phoron, mixture.GetMoles(Gas.Phoron) - phoronBurnRate);
mixture.SetMoles(Gas.Oxygen, mixture.GetMoles(Gas.Oxygen) - (phoronBurnRate * oxygenBurnRate));
if(superSaturation)
mixture.AdjustMoles(Gas.Tritium, phoronBurnRate);
else
mixture.AdjustMoles(Gas.CarbonDioxide, phoronBurnRate);
mixture.AdjustMoles(superSaturation ? Gas.Tritium : Gas.CarbonDioxide, phoronBurnRate);
energyReleased += Atmospherics.FirePhoronEnergyReleased * (phoronBurnRate);