View Issue Details

IDProjectCategoryView StatusLast Update
0000226Gameplay + OpenGL[All Projects] Bugpublic2017-02-15 14:20
ReporterFishyClockwork01 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000226: Setting DamageFactor 0 on a PowerProtection item doesn't make you immune
DescriptionTo be specific DamageFactor that is non-zero works as intended. It's just that, right now, it's impossible to be completely immune to a specific damage type.

For example, this should make you immune to melee damage, but it only minimizes it.
Class PowerT : PowerProtection
{
    Default
    {
        ActiveSound "pain/pain";
        DamageFactor "Melee", 0;
    }
}
Class T : InvulnerabilitySphere
{
    Default
    {
        Powerup.Type "PowerT";
    }
}
Steps To ReproduceSave the above code as zscript.txt and drag-drop it on gzdoom. Give yourself the T item, summon a Demon (Pinky) and let it bite you. It should cause some damage even though it's not supposed to.
TagsNo tags attached.

Relationships

Activities

LordMisfit

LordMisfit

2017-02-11 23:35

reporter   ~0000524

Unfortunately I seem to be having this issue, and it sort of breaks my "evasion" mechanic which relies on setting Damagefactor to "0" as well, so I'm hoping this gets addressed soon. :o

Issue History

Date Modified Username Field Change
2017-02-09 17:04 FishyClockwork01 New Issue
2017-02-11 23:35 LordMisfit Note Added: 0000524
2017-02-15 14:20 Graf Zahl Status new => resolved
2017-02-15 14:20 Graf Zahl Resolution open => fixed