IDDDCalculationEvent - yeelp/Distinct-Damage-Descriptions GitHub Wiki
This event is extended by all of DDD's calculation based events, which are typically fire after DDD classifies damage and resistances.
Importing the class
It might be required to import the class to avoid errors.
import mods.ddd.events.DDDCalculationEvent;
Extending IDDDEvent
This event extends IDDDEvent. So anything accessible from that event is accessible from IDDDCalculationEvent
What can you do with this?
ZenMethods
float getDamage(IDDDDamageType);
- Gets damage inflicted for a certain type.
- Is zero if no damage is inflicted of that type.
- Also zero if the damage was reduced to zero, but was non-zero beforehand.