Fusion Action
Fuse two animals of the same species to create an egg with inherited stats and mutation chance
Поля
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
targetDefinition | Ref<AnimalDefinitionEntry> | — | The animal species definition to fuse |
incubationHours | Int | 24 | Duration in hours before the egg hatches |
rarityUpgradeChance | Double | 0.15 | Chance (0.0-1.0) that the egg hatches one rarity above the species rarity. 0 = never, 1 = always. |
cosmeticMutationChance | Double | 0.25 | Chance (0.0-1.0) that the hatched animal gets a cosmetic mutation skin (mutation_1 to mutation_4). 0 = never, 1 = always. |
Общие поля TypeWriter (criteria, modifiers, triggers)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Two reserve animals of targetDefinition with the same level and prestige, at least the species fusionMinLevel, are removed and an egg starts incubating for incubationHours. The two chances are stored in the egg and rolled once when it hatches: rarityUpgradeChance (default 0.15) is the chance to hatch one rarity above the species rarity (the top rarity cannot go higher), and cosmeticMutationChance (default 0.25) is the chance to hatch with a mutation_1 to mutation_4 skin, so the animal model needs those skins. Values are limited to 0 to 1. Eggs stored before these chances were honoured, and expedition returns, never get a rarity upgrade and keep a 25% mutation chance.