Table of Contents

Enum DamageNegationMode

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

How a DamageNegationBuffTemplate takes damage off an incoming hit.

public enum DamageNegationMode : byte

Fields

Absorb = 0

A POOL of damage points. Each hit spends from it, and the buff ends the moment the pool reaches zero — the classic absorb shield.

The only mode that spends RemainingCharges, and therefore the only one whose strength depends on state the reconcile has to carry.

Immune = 2

Every qualifying hit is negated outright for the buff's whole duration.

Equivalent to Reduce at 100%, kept separate so an author can express "immune" without it silently becoming "99%" through a percentage they can mistype, and so a tooltip can say the right thing.

Reduce = 1

A PERCENTAGE off every qualifying hit, for the buff's whole duration. Spends nothing and ends only on its timer.