Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing effects #32

Merged
merged 1 commit into from
Jun 27, 2020
Merged

Add missing effects #32

merged 1 commit into from
Jun 27, 2020

Conversation

morphy2k
Copy link
Member

@morphy2k morphy2k commented Jun 26, 2020

This PR adds all missing effects, mainly those of the stimulators.
It includes effects like tremor, tunnel vision or the regeneration rate of stamina (list below). The property skill holds all skills that are influenced and the respective impact on them.

The new property health indicates how many health points are restored and will replace ResourceRate from Medkits in the future.

New effects

Name Type
energyRate object
health object
healthRate object
hydrationRate object
tunnelVision object
stamina object
staminaRate object
tremor object
skill array

New effect properties

Name Type Description
name string Name of the skill, if it affects one (optional)
chance float The chance of occurrence (decimal)
delay float Delay in seconds

@morphy2k morphy2k added the enhancement New feature or request label Jun 26, 2020
@morphy2k morphy2k merged commit 5c639ac into master Jun 27, 2020
@morphy2k morphy2k deleted the feature/advanced-effects branch June 27, 2020 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant