SpawnDeathAbility
SpawnDeathAbility
extends Ability
Spawns a certain amount of units upon death.
field | type | default | notes |
---|---|---|---|
unit | UnitType | null | |
amount | int | 1 | |
randAmount | int | 0 | |
spread | float | 8.0 | Random spread of units away from the spawned. |
faceOutwards | boolean | true | If true, units spawned face outwards from the middle. |