mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
add mezfes tickets to gameplay options
This commit is contained in:
@@ -40,7 +40,9 @@
|
|||||||
"BoostTimeDuration": 120,
|
"BoostTimeDuration": 120,
|
||||||
"GuildMealDuration": 60,
|
"GuildMealDuration": 60,
|
||||||
"BonusQuestAllowance": 3,
|
"BonusQuestAllowance": 3,
|
||||||
"DailyQuestAllowance": 1
|
"DailyQuestAllowance": 1,
|
||||||
|
"MezfesSoloTickets": 10,
|
||||||
|
"MezfesGroupTickets": 4
|
||||||
},
|
},
|
||||||
"Discord": {
|
"Discord": {
|
||||||
"Enabled": false,
|
"Enabled": false,
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ type GameplayOptions struct {
|
|||||||
GuildMealDuration int // The number of minutes a Guild Meal can be activated for after cooking
|
GuildMealDuration int // The number of minutes a Guild Meal can be activated for after cooking
|
||||||
BonusQuestAllowance uint32 // Number of Bonus Point Quests to allow daily
|
BonusQuestAllowance uint32 // Number of Bonus Point Quests to allow daily
|
||||||
DailyQuestAllowance uint32 // Number of Daily Quests to allow daily
|
DailyQuestAllowance uint32 // Number of Daily Quests to allow daily
|
||||||
|
MezfesSoloTickets uint32 // Number of solo tickets given weekly
|
||||||
|
MezfesGroupTickets uint32 // Number of group tickets given weekly
|
||||||
}
|
}
|
||||||
|
|
||||||
// Discord holds the discord integration config.
|
// Discord holds the discord integration config.
|
||||||
|
|||||||
@@ -133,9 +133,9 @@ func (s *Session) makeSignResponse(uid int) []byte {
|
|||||||
bf.WriteUint32(uint32(channelserver.TimeWeekStart().Unix()))
|
bf.WriteUint32(uint32(channelserver.TimeWeekStart().Unix()))
|
||||||
// End time
|
// End time
|
||||||
bf.WriteUint32(uint32(channelserver.TimeWeekNext().Unix()))
|
bf.WriteUint32(uint32(channelserver.TimeWeekNext().Unix()))
|
||||||
bf.WriteUint8(2) // Unk
|
bf.WriteUint8(2) // Unk
|
||||||
bf.WriteUint32(20) // Single tickets
|
bf.WriteUint32(s.server.erupeConfig.GameplayOptions.MezfesSoloTickets)
|
||||||
bf.WriteUint32(10) // Group tickets
|
bf.WriteUint32(s.server.erupeConfig.GameplayOptions.MezfesGroupTickets)
|
||||||
bf.WriteUint8(8) // Stalls open
|
bf.WriteUint8(8) // Stalls open
|
||||||
bf.WriteUint8(0xA) // Unk
|
bf.WriteUint8(0xA) // Unk
|
||||||
bf.WriteUint8(0x3) // Pachinko
|
bf.WriteUint8(0x3) // Pachinko
|
||||||
|
|||||||
Reference in New Issue
Block a user