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

Adds a new math function; TOUGHER_TIMES() #1704

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

Kitsunemitsu
Copy link
Contributor

@Kitsunemitsu Kitsunemitsu commented Dec 6, 2023

About The Pull Request

Adds in a new math function, TOUGHER_TIMES().
The formula is (0.15*x)/(0.15*x + 1)

Base Tougher times scales like this, with the % chance being the % of 1 returned.
image

Letting you scale like this, in a graph form:
image

Why It's Good For The Game

This lets you easily create decay-stacked math variables, should you need to.
Lets us easily hardcap things that should be hardcapped, (Warden's speed maybe?)
Has a large variety in uses if we want people to stack but don't want it to stack infinitely.

Changelog

🆑
code: Added new math function: TOUGHER_TIMES()
/:cl:

@Kitsunemitsu Kitsunemitsu added the Code improvement Code is now easier to copy paste. label Dec 6, 2023
@LanceSmites328 LanceSmites328 merged commit a6ae770 into vlggms:master Dec 6, 2023
8 of 10 checks passed
vampirebat74 pushed a commit to vampirebat74/lobotomy-corp13 that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code improvement Code is now easier to copy paste.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants