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

Implement SecNum for monster creation cost/build time #115

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

AMXBus
Copy link
Contributor

@AMXBus AMXBus commented Dec 12, 2024

As an addendum to the unlock/training/upgrade cost/time data PR.

Main things to note:

  • We implement SecNum calls in the runtime intit structure for the monster creation costs and times (currently in CREATURELOCKER.as and RebalancedCreatures.as if we ever want to use those)
  • All of the areas where the properties get called for creation in CREATURELOCKER.as respectively are covered by Get() methods where needed, additionally MONSTERBUNKERPOPUP.as/HOUSINGPOPUP.as/HATCHERYPOPUP.as/HATCHERYCCPOPUP.as and a few BUILDINGN.as scripts grab this data for the visual descriptions or basic calculations (like for healing wounded monsters)
  • There are also other scripts that use this data (I have not had the time to analyze what they do precisely but those have been updated as well)
  • There is no internal math here except for cost deduction and addition which already have SecNum implemented.

These changes also apply to inferno as well.

@React1-X React1-X added enhancement New feature or request beta Beta related issue or feature client Client related issues labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Beta related issue or feature client Client related issues enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants