typo
This commit is contained in:
@@ -2069,10 +2069,12 @@ void Garrison::AddMission(uint32 garrMissionId)
|
|||||||
mission.PacketInfo.OfferTime = GameTime::GetGameTime();
|
mission.PacketInfo.OfferTime = GameTime::GetGameTime();
|
||||||
mission.PacketInfo.OfferDuration = Seconds(missionEntry->OfferDuration);
|
mission.PacketInfo.OfferDuration = Seconds(missionEntry->OfferDuration);
|
||||||
// Sentinel StartTime for an offered (not-yet-started) mission. The client keys "offered" off
|
// Sentinel StartTime for an offered (not-yet-started) mission. The client keys "offered" off
|
||||||
// MissionState == 0 and does not render a start timer for it, but the value should still match
|
// MissionState == 0 and does not render a start timer for it, but the value should still be a
|
||||||
// retail's far-PAST sentinel (~year 0) rather than the old far-FUTURE ~2042 value (2288912640),
|
// far-PAST sentinel rather than the old far-FUTURE ~2042 value (2288912640), which could render
|
||||||
// which could render as a bogus future start if a client ever read it.
|
// as a bogus future start if a client ever read it. 0 (1970) is used instead of retail's ~year 0
|
||||||
mission.PacketInfo.StartTime = time_t(-62169984000);
|
// negative sentinel because character_garrison_missions.startTime is bigint UNSIGNED (a negative
|
||||||
|
// sentinel fails MySQL errno 1264 on INSERT).
|
||||||
|
mission.PacketInfo.StartTime = 0;
|
||||||
// Command Table tier 2 (GarrAbility 1273 'Strategic Genius', GarrAbilityEffect 1843: AbilityAction 17,
|
// Command Table tier 2 (GarrAbility 1273 'Strategic Genius', GarrAbilityEffect 1843: AbilityAction 17,
|
||||||
// ActionValueFlat 0.75) multiplies the travel duration of a Shadowlands adventure. Applied at offer time so
|
// ActionValueFlat 0.75) multiplies the travel duration of a Shadowlands adventure. Applied at offer time so
|
||||||
// the discounted value is what persists and round-trips (character_garrison_missions.travelDuration).
|
// the discounted value is what persists and round-trips (character_garrison_missions.travelDuration).
|
||||||
|
|||||||
Reference in New Issue
Block a user