Skip to content

Add configurable crossbreeding stat inheritance#138

Open
Zarkov2 wants to merge 1 commit intosetycz:1.12.2from
Zarkov2:1.12.2
Open

Add configurable crossbreeding stat inheritance#138
Zarkov2 wants to merge 1 commit intosetycz:1.12.2from
Zarkov2:1.12.2

Conversation

@Zarkov2
Copy link
Copy Markdown

@Zarkov2 Zarkov2 commented Dec 22, 2018

Hello,

Here is a small change that adds configurable stat inheritance for cross breeding. By default it is disabled. If enabled, the crossbred offspring will inherit the average stats of the parents. This is with ratio set to 1.0. With ratio set to 0.5 the offspring gets 50% of the parent average for each stat.

Adds crossbreeding stat inheritance with two options: Enable/disable and
the ratio at which crossbred offspring inherits parent stats.
@GenDeathrow
Copy link
Copy Markdown
Collaborator

I will play around with it. I've got a lot of projects going atm. but the code looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants