feat: Adjust after battle EXP and Req rewards#640
feat: Adjust after battle EXP and Req rewards#640EttyKitty merged 2 commits intoAdeptus-Dominus:mainfrom
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughBy the Omnissiah’s decree, the reward computation algorithms have been refactored in two sacred scripts. In Alarm_5.gml, the variable Possibly related PRs
Suggested labels
Suggested reviewers
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Actually, can probably get away with reducing the factor to 4-6. |
|
Have to note of potential conflicts with #482 |
5ce5048 to
5dc6642
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
objects/obj_ncombat/Alarm_5.gml(2 hunks)objects/obj_ncombat/KeyPress_13.gml(1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
`**/*.gml`: - Macro constants require a space between the constant name and value. Without it, the compiler will throw an error. I.e. `#macro ARR_body_parts["arm"]` will crash the ...
**/*.gml: - Macro constants require a space between the constant name and value. Without it, the compiler will throw an error. I.e.#macro ARR_body_parts["arm"]will crash the game, because there is no space between the array and the name of the macro.
- Color codes in the code shouldn't have any spaces in their id. I.e., color code
# 80 bf40will crash the game.
objects/obj_ncombat/Alarm_5.gmlobjects/obj_ncombat/KeyPress_13.gml
`**/*.gml`: - Always suggest adding JSDoc to every function and method that doesn't have it.
**/*.gml: - Always suggest adding JSDoc to every function and method that doesn't have it.
objects/obj_ncombat/Alarm_5.gmlobjects/obj_ncombat/KeyPress_13.gml
`**/*.gml`: - Readability and maintainability are always the top priority throughout the code. - DRY principle is also very important.
**/*.gml: - Readability and maintainability are always the top priority throughout the code.
- DRY principle is also very important.
objects/obj_ncombat/Alarm_5.gmlobjects/obj_ncombat/KeyPress_13.gml
🔇 Additional comments (1)
objects/obj_ncombat/Alarm_5.gml (1)
387-388: The removal of extraneous variables is pleasing to the Machine God.The refactoring of variable declarations by removing the obsolete
power_foughtvariable enhances code purity and memory efficiency.
Purpose of changes
Describe the solution
_quad_factor * sqr(threat);. Exp has the factor of 10, and Req of 6.Describe alternatives you've considered
None
Testing done
None
Related links
None
Custom player notes entry
Use the PR title.