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

Suggestion: Announce the current challenge modes enabled to player on login #9

Open
drozco opened this issue Oct 23, 2022 · 1 comment

Comments

@drozco
Copy link

drozco commented Oct 23, 2022

Simple, Tell the player what challenge modes they have enabled on login, since it's easy to forget which ones they have enabled.
Something like:
Iron-Man challenge mode is enabled.

@drozco drozco changed the title Suggestion: Announce the current challenge modes announced to player on login Suggestion: Announce the current challenge modes enabled to player on login Oct 24, 2022
@drozco
Copy link
Author

drozco commented Oct 24, 2022

Did a test implementation within each challengemode as an example:

    void OnLogin(Player* player) override
    {
        if (challengesEnabled && hardcoreEnable && player->GetPlayerSetting("mod-challenge-modes", SETTING_HARDCORE).value)
        {
            ChatHandler(player->GetSession()).PSendSysMessage("Hardcore challenge mode is enabled");
        }
    }

Produced this output:

chalmode

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

No branches or pull requests

1 participant