damage that reduces some resource value(health), probably the most common kind of damage
https://adventure.softleitner.com/manual/damage
|
override void | OnDamage (DamageEvent e) |
| called during damage handling after the sender and receiver had a chance to react in their PreDamage and OnDamage methods(DamageEvent)
|
|
|
ResourceType | ResourceType |
|
bool | Add |
|
bool | ShowBar |
|
Color | Color = Color.red |
|
◆ OnDamage()
override void AdventureCore.ResourceDamage.OnDamage |
( |
DamageEvent | e | ) |
|
|
inlinevirtual |
called during damage handling after the sender and receiver had a chance to react in their PreDamage and OnDamage methods(DamageEvent)
- Parameters
-
Reimplemented from AdventureCore.DamageKind.