mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
add customisable Raviente max players
This commit is contained in:
@@ -47,6 +47,11 @@
|
|||||||
"DailyQuestAllowance": 1,
|
"DailyQuestAllowance": 1,
|
||||||
"MezfesSoloTickets": 10,
|
"MezfesSoloTickets": 10,
|
||||||
"MezfesGroupTickets": 4,
|
"MezfesGroupTickets": 4,
|
||||||
|
"RegularRavienteMaxPlayers": 8,
|
||||||
|
"ViolentRavienteMaxPlayers": 8,
|
||||||
|
"BerserkRavienteMaxPlayers": 32,
|
||||||
|
"ExtremeRavienteMaxPlayers": 32,
|
||||||
|
"SmallBerserkRavienteMaxPlayers": 8,
|
||||||
"GUrgentRate": 10,
|
"GUrgentRate": 10,
|
||||||
"GCPMultiplier": 1.00,
|
"GCPMultiplier": 1.00,
|
||||||
"GRPMultiplier": 1.00,
|
"GRPMultiplier": 1.00,
|
||||||
|
|||||||
@@ -121,29 +121,34 @@ type SaveDumpOptions struct {
|
|||||||
|
|
||||||
// GameplayOptions has various gameplay modifiers
|
// GameplayOptions has various gameplay modifiers
|
||||||
type GameplayOptions struct {
|
type GameplayOptions struct {
|
||||||
FeaturedWeapons int // Number of Active Feature weapons to generate daily
|
FeaturedWeapons int // Number of Active Feature weapons to generate daily
|
||||||
MaximumNP int // Maximum number of NP held by a player
|
MaximumNP int // Maximum number of NP held by a player
|
||||||
MaximumRP uint16 // Maximum number of RP held by a player
|
MaximumRP uint16 // Maximum number of RP held by a player
|
||||||
DisableLoginBoost bool // Disables the Login Boost system
|
DisableLoginBoost bool // Disables the Login Boost system
|
||||||
DisableBoostTime bool // Disables the daily NetCafe Boost Time
|
DisableBoostTime bool // Disables the daily NetCafe Boost Time
|
||||||
BoostTimeDuration int // The number of minutes NetCafe Boost Time lasts for
|
BoostTimeDuration int // The number of minutes NetCafe Boost Time lasts for
|
||||||
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
|
MezfesSoloTickets uint32 // Number of solo tickets given weekly
|
||||||
MezfesGroupTickets uint32 // Number of group tickets given weekly
|
MezfesGroupTickets uint32 // Number of group tickets given weekly
|
||||||
GUrgentRate uint16 // Adjusts the rate of G Urgent quests spawning
|
RegularRavienteMaxPlayers uint8
|
||||||
GCPMultiplier float32 // Adjusts the multiplier of GCP rewarded for quest completion
|
ViolentRavienteMaxPlayers uint8
|
||||||
GRPMultiplier float32 // Adjusts the multiplier of G Rank Points rewarded for quest completion
|
BerserkRavienteMaxPlayers uint8
|
||||||
GSRPMultiplier float32 // Adjusts the multiplier of G Skill Rank Points rewarded for quest completion
|
ExtremeRavienteMaxPlayers uint8
|
||||||
GZennyMultiplier float32 // Adjusts the multiplier of G Zenny rewarded for quest completion
|
SmallBerserkRavienteMaxPlayers uint8
|
||||||
MaterialMultiplier float32 // Adjusts the multiplier of Monster Materials rewarded for quest completion
|
GUrgentRate uint16 // Adjusts the rate of G Urgent quests spawning
|
||||||
ExtraCarves uint16 // Grant n extra chances to carve ALL carcasses
|
GCPMultiplier float32 // Adjusts the multiplier of GCP rewarded for quest completion
|
||||||
DisableHunterNavi bool // Disables the Hunter Navi
|
GRPMultiplier float32 // Adjusts the multiplier of G Rank Points rewarded for quest completion
|
||||||
EnableHiganjimaEvent bool // Enables the Higanjima event in the Rasta Bar
|
GSRPMultiplier float32 // Adjusts the multiplier of G Skill Rank Points rewarded for quest completion
|
||||||
EnableNierEvent bool // Enables the Nier event in the Rasta Bar
|
GZennyMultiplier float32 // Adjusts the multiplier of G Zenny rewarded for quest completion
|
||||||
DisableRoad bool // Disables the Hunting Road
|
MaterialMultiplier float32 // Adjusts the multiplier of Monster Materials rewarded for quest completion
|
||||||
SeasonOverride bool // Overrides the Quest Season with the current Mezeporta Season
|
ExtraCarves uint16 // Grant n extra chances to carve ALL carcasses
|
||||||
|
DisableHunterNavi bool // Disables the Hunter Navi
|
||||||
|
EnableHiganjimaEvent bool // Enables the Higanjima event in the Rasta Bar
|
||||||
|
EnableNierEvent bool // Enables the Nier event in the Rasta Bar
|
||||||
|
DisableRoad bool // Disables the Hunting Road
|
||||||
|
SeasonOverride bool // Overrides the Quest Season with the current Mezeporta Season
|
||||||
}
|
}
|
||||||
|
|
||||||
// Discord holds the discord integration config.
|
// Discord holds the discord integration config.
|
||||||
|
|||||||
@@ -156,7 +156,20 @@ func makeEventQuest(s *Session, rows *sql.Rows) ([]byte, error) {
|
|||||||
bf.WriteUint32(id)
|
bf.WriteUint32(id)
|
||||||
bf.WriteUint32(0)
|
bf.WriteUint32(0)
|
||||||
bf.WriteUint8(0) // Indexer
|
bf.WriteUint8(0) // Indexer
|
||||||
bf.WriteUint8(maxPlayers)
|
switch questType {
|
||||||
|
case 16:
|
||||||
|
bf.WriteUint8(s.server.erupeConfig.GameplayOptions.RegularRavienteMaxPlayers)
|
||||||
|
case 22:
|
||||||
|
bf.WriteUint8(s.server.erupeConfig.GameplayOptions.ViolentRavienteMaxPlayers)
|
||||||
|
case 40:
|
||||||
|
bf.WriteUint8(s.server.erupeConfig.GameplayOptions.BerserkRavienteMaxPlayers)
|
||||||
|
case 50:
|
||||||
|
bf.WriteUint8(s.server.erupeConfig.GameplayOptions.ExtremeRavienteMaxPlayers)
|
||||||
|
case 51:
|
||||||
|
bf.WriteUint8(s.server.erupeConfig.GameplayOptions.SmallBerserkRavienteMaxPlayers)
|
||||||
|
default:
|
||||||
|
bf.WriteUint8(maxPlayers)
|
||||||
|
}
|
||||||
bf.WriteUint8(questType)
|
bf.WriteUint8(questType)
|
||||||
bf.WriteUint8(0)
|
bf.WriteUint8(0)
|
||||||
bf.WriteUint16(0)
|
bf.WriteUint16(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user