Skip to content

Add *getunitparam to obtain values set via unit_parameters_db.conf in scripts#3323

Merged
MishimaHaruna merged 1 commit intoHerculesWS:masterfrom
skyleo:add-getunitparam-scriptcmd
Sep 29, 2024
Merged

Add *getunitparam to obtain values set via unit_parameters_db.conf in scripts#3323
MishimaHaruna merged 1 commit intoHerculesWS:masterfrom
skyleo:add-getunitparam-scriptcmd

Conversation

@skyleo
Copy link
Copy Markdown
Contributor

@skyleo skyleo commented Sep 21, 2024

Pull Request Prelude

Changes Proposed

Add a new script command named getunitparam to obtain the values set via unit_parameters_db.conf which used to be obtainable via getbattleflag(...)

In relation to: #3214

NOTE: The deprecation warning of the deprecated keys for the battle flags, is not shown when using getbattleflag(..), but zero (or the default value) is silently returned instead.

Issues addressed: None

@skyleo skyleo requested a review from guilherme-gm September 21, 2024 05:40
Copy link
Copy Markdown
Member

@guilherme-gm guilherme-gm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than that small detail, looks good to me

@skyleo skyleo force-pushed the add-getunitparam-scriptcmd branch from 285b528 to 7b6437f Compare September 21, 2024 16:34
@skyleo skyleo requested a review from guilherme-gm September 21, 2024 16:34
@MishimaHaruna MishimaHaruna added this to the Release v2024.09 milestone Sep 28, 2024
@skyleo skyleo force-pushed the add-getunitparam-scriptcmd branch from 7b6437f to 1adb7c6 Compare September 29, 2024 18:30
@MishimaHaruna MishimaHaruna merged commit 60f3f74 into HerculesWS:master Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants