Added support for DamNums.

This commit is contained in:
Marisa the Magician 2018-06-01 18:56:41 +02:00
commit be6c9f399c
3 changed files with 23 additions and 5 deletions

View file

@ -59,7 +59,7 @@ Class Razor2 : Actor
Height 2;
Speed 50;
DamageFunction Random[Ripper](20,30);
DamageType "Ripper";
DamageType 'Ripper';
Obituary "%k ripped a chunk of meat out of %o with the Ripper.";
BounceType "Doom";
ReactionTime 7;
@ -184,7 +184,7 @@ Class Razor2Alt : Razor2
Default
{
DamageFunction Random[Ripper](25,34);
DamageType "RipperAltDealth";
DamageType 'RipperAltDealth';
BounceType "None";
-CANBOUNCEWATER;
+EXPLODEONWATER;

View file

@ -474,7 +474,7 @@ Class SuperShockBeam : Actor
Default
{
Obituary "%k electrified %o with the Enhanced Shock Rifle.";
DamageType 'jolted';
DamageType 'joltedX';
RenderStyle "Add";
Radius 0.1;
Height 0;
@ -560,7 +560,7 @@ Class SuperShockBeam : Actor
}
else
{
t.Results.HitActor.DamageMobj(self,target,Random[ASMD](3500,5000),'jolted');
t.Results.HitActor.DamageMobj(self,target,Random[ASMD](3500,5000),'joltedX');
let r = Spawn("SuperShockBeamRing",pos);
r.angle = atan2(t.Results.HitVector.y,t.Results.HitVector.x);
r.pitch = asin(-t.Results.HitVector.z);
@ -884,7 +884,7 @@ Class SuperShockBall : Actor
{
Obituary "%k electrified %o with the Enhanced Shock Rifle.";
RenderStyle "Add";
DamageType 'jolted';
DamageType 'joltedX';
DamageFunction Random[ASMD](5000,6000);
Radius 2;
Height 2;