HealthActionType - cluttered-code/godot-health-hitbox-hurtbox GitHub Wiki
inherits: Resource
The type of action to perform. Used to apply HealthModifier
Description
These types are used to apply different HealthModifer affects for different types of damage/healing.
[!TIP] Developers can add health action types here to enable more modifiers. Adding more types is only useful if you want to enable separate HealthModifier affects for each type.
damage type examples: BLUDGEON, PIERCE, POISON, FIRE, LIGHTNING...
heal type examples: POTION, MED_KIT, INJECTION, FOOD...
[!IMPORTANT] When adding custom types it is recommended to move this and it's guid file out of the 'addon' folder so this file isn't replaced when updating the plugin.
Enumerations
enum
enum Enum { NONE, MEDICINE, KINETIC }
-
Enum NONE = 0
-
The default type for Enum MEDICINE = 1
Health.Affect.HEAL
Health.Affect. -
The default type for Enum KINETIC = 2
Health.Affect.Damage
Health.Affect.