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

Configurable bazaar timers and bazaar related GP course effects #665

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

alborrajo
Copy link
Collaborator

Adds new game server settings for the bazaar timers BazaarExhibitionTimeSeconds and BazaarCooldownTimeSeconds, with default values of 3 days and 1 day.
Implements the GP course effects that extend bazaar slots and reduces new bazaar cooldown timer

Checklist:

  • The project compiles
  • The PR targets develop branch

@alborrajo alborrajo requested a review from pacampbell December 19, 2024 17:00
ulong totalCooldown;
try
{
totalCooldown = Server.Setting.GameLogicSetting.BazaarCooldownTimeSeconds - Server.GpCourseManager.BazaarReExhibitShorten();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I feel you could've just checked to see if the shorten time is larger than the time left but I guess this works.

@alborrajo alborrajo force-pushed the feature/bazaar-timers branch from a82afba to 411132c Compare December 19, 2024 23:44
@alborrajo alborrajo merged commit a0b4c4d into sebastian-heinz:develop Dec 19, 2024
1 check passed
@alborrajo alborrajo deleted the feature/bazaar-timers branch December 19, 2024 23:45
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.

2 participants