new Promotion()
- Source:
Members
Schema
- Source:
currentXp
- Source:
currentXp
- Source:
currentXp
- Source:
currentXp
- Source:
promotedUnitEntity
- Source:
promotedUnitEntity
- Source:
trickleRate
- Source:
trickleTimer
- Source:
Methods
CheckTrickleTimer()
- Source:
ComputeTrickleRate()
- Source:
GetCurrentXp()
- Source:
GetPromotedTemplateName()
- Source:
GetRequiredXp()
- Source:
IncreaseXp()
- Source:
Init()
- Source:
OnValueModification()
- Source:
Promote()
- Source:
SetPromotedEntity(entity)
Parameters:
| Name | Type | Description |
|---|---|---|
entity |
number | The entity ID of the entity that this unit has promoted to. |
- Source:
TrickleTick()
- Source: