DamageType
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Constructors
new(msgId as string, scaling as DamageScaling, exhaustion as float, effects as DamageEffects, deathMessageType as DeathMessageType)
Creates a new DamageType using the provided values
Parameters:
msgId: string
Type: string
- The unlocalized name of this type exhaustion: float
Type: float
- How much exhaustion does this type cause new(msgId as string, scaling as DamageScaling, exhaustion as float)
Creates a new DamageType using the provided values
Parameters:
msgId: string
Type: string
- The unlocalized name of this type exhaustion: float
Type: float
- How much exhaustion does this type cause new(msgId as string, scaling as DamageScaling, exhaustion as float, effects as DamageEffects)
Creates a new DamageType using the provided values
Parameters:
msgId: string
Type: string
- The unlocalized name of this type exhaustion: float
Type: float
- How much exhaustion does this type cause new(msgId as string, exhaustion as float, effects as DamageEffects)
Creates a new DamageType using the provided values
Parameters:
msgId: string
Type: string
- The unlocalized name of this type exhaustion: float
Type: float
- How much exhaustion does this type cause new(msgId as string, exhaustion as float)
Creates a new DamageType using the provided values
Parameters:
msgId: string
Type: string
- The unlocalized name of this type exhaustion: float
Type: float
- How much exhaustion does this type cause Members
Getter
Return Type:
DeathMessageType
Getter
Return Type:
DamageEffects
Getter
Return Type:
float
Getter
Return Type:
string
Getter
Return Type:
DamageScaling