[Added] LAXTELEFRAGDMG

Moderator: GZDoom Developers

LAXTELEFRAGDMG

Postby Major Cooke » Tue Jun 02, 2015 11:21 am

Pull request.

Basically allows damage to be increased AND reduced, but still foils invulnerability regardless if the original damage was that magical number or more.

Also fixes an inconsistency: Damage was processed after monster invulnerability, and before player god/buddha/invul checks + monster buddha checks. This means if a damage was amplified, either by the source or the victim, they'd still cause damage despite it not exactly being intended for a million or more points.

But if the true desire was to have it foil invulnerability after the damage is processed, it's still inconsistent because the damagefactors/types aren't taken into account by invulnerable monsters unless the raw damage is a million or more. Whichever way this goes, it's bugged as it is.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: LAXTELEFRAGDMG

Postby Graf Zahl » Tue Jun 02, 2015 12:32 pm

Added mostly for the bug. What's the point of the flag?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: LAXTELEFRAGDMG

Postby Gez » Tue Jun 02, 2015 12:46 pm

Major Cooke wrote:Basically allows damage to be increased AND reduced

Why?
Gez
 
 
 
Joined: 06 Jul 2007

Re: LAXTELEFRAGDMG

Postby Major Cooke » Tue Jun 02, 2015 1:07 pm

Because I want a monster that's telefraggable, which can be telestomped a certain number of times before it finally dies, so I have to mitigate the damage somehow while leaving it perfectly vulnerable to everything else. At first it was possible before the P_DamageMobj review, and then it wasn't, so this flag restores that functionality.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 4 guests