Damage accumulators now report damage amplified by Devastation Sigil.

This commit is contained in:
Mari the Deer 2021-11-30 18:29:33 +01:00
commit 067dbb2be3
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r61 \cu(Tue 30 Nov 18:16:39 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r61 \cu(2021-11-30 18:16:39)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r62 \cu(Tue 30 Nov 18:29:33 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r62 \cu(2021-11-30 18:29:33)\c-";

View file

@ -145,6 +145,8 @@ Class SWWMDamageAccumulator : Thinker
while ( a = SWWMDamageAccumulator(ti.Next()) )
{
if ( a.victim != victim ) continue;
if ( a.source && a.source.FindInventory("AngeryPower") )
return (a.total>85899345)?int.max:(a.total*25);
return a.total;
}
return 0;