-
-
Notifications
You must be signed in to change notification settings - Fork 5
IDDDCalculationEvent
Yeelp edited this page Feb 7, 2024
·
2 revisions
This event is extended by all of DDD's calculation based events, which are typically fire after DDD classifies damage and resistances.
It might be required to import the class to avoid errors.
import mods.ddd.events.DDDCalculationEvent;This event extends IDDDEvent. So anything accessible from that event is accessible from IDDDCalculationEvent
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.