At the end of
For a permanent double-XP localhost, add entries covering all days with
ConfigureMatchmaker(), reward_mult maps weekday (0 = Monday) to time windows with per-rank rate strings or a flat goldReward. Stock: Monday 00:00-01:00 and 00:00-03:00 normal rates, Monday 02:00-05:00 +50 gold, Saturday 10:00-13:00 +100 gold.
local reward_mult = {
-- day = 0; Monday starts at 0
[ 0 ] =
{
{ hourBegin = 0, hourEnd = 1, rateExp = "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1", rateCred = "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1", },
{ hourBegin = 0, hourEnd = 3, rateExp = "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1", rateCred = "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1", },
{ hourBegin = 2, hourEnd = 5, goldReward = 50 },
},
[ 6 ] =
{
{ hourBegin = 10, hourEnd = 13, goldReward = 100 },
},
}
MatchMaker_SetRewardRates( reward_mult )
rateExp/rateCred of 2, or widen one window to 0-24.Additional Notes:
Day 0 = Monday. Keys are weekday numbers.