Add base melee damage & range damage options #18
Merged
+28
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 Description
Forgive me for another PR!
This is a bit of a feature request that adds an optional feature. The default gameplay remains unchanged so it is not a breaking change.
Two new config values
MobBaseDamage&MobBaseRangeDamageallow you to configure how much of Hytale's vanilla mob damage should be influenced in the "level 0" mob stats.The damage that the player takes is calculated with the following formula:
So, for example, when the baseDamage is 0.75 and damageMultiplier is 0.25, at the mob level 1, this results in the damage factor of 1.0 which is Hytale's vanilla mob strength.
You could say this is an "offset" value to the damage factor. These config values are 0 by default so that the damage formula remains the same unless specifically configured.
This is still a draft, so please let me know what you think about this feature!
🧪 Type of Change
Please check the types of changes your PR introduces:
✅ Checklist
Go over all the following items and check them before submitting your PR:
spotlessApplyto apply formatting)