-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor RaidTimeAdjustment to work as server authoritative (#1112)
- Move ragfair and hideout `runIntervalSeconds` settings to `startLocalRaid` - Move pmcWaveGenerator to be run per-map instead of per session - Refactor RaidTimeAdjustmentService.makeAdjustmentsToMap to handle most of the stuff previously handled in the client patch - Change getRaidAdjustments to only return the survival time, and store all other data for use in loot generation
- Loading branch information
Showing
6 changed files
with
87 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
export interface IGetRaidTimeResponse { | ||
RaidTimeMinutes: number; | ||
NewSurviveTimeSeconds?: number; | ||
OriginalSurvivalTimeSeconds: number; | ||
ExitChanges: ExtractChange[]; | ||
} | ||
|
||
export interface ExtractChange { | ||
Name: string; | ||
MinTime?: number; | ||
MaxTime?: number; | ||
Chance?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters