A class in Root.Township, Alta.Alchemy.
Chance-based effect that teleports the target to a spawn area. Home sends a player to their own respawn position.
Constructors
| Member | What it is |
|---|
TeleportEffect() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|
protected override void Apply(EffectHandler target, float strength) | Teleports to a random point in the landing area. Home uses the player's spawn point (not for spirits); missing areas fall back to RespawnPoint. |