mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 16:34:51 +01:00
add DisableHunterNavi GameplayOption
This commit is contained in:
@@ -53,6 +53,7 @@
|
|||||||
"GZennyMultiplier": 1.00,
|
"GZennyMultiplier": 1.00,
|
||||||
"MaterialMultiplier": 1.00,
|
"MaterialMultiplier": 1.00,
|
||||||
"ExtraCarves": 0,
|
"ExtraCarves": 0,
|
||||||
|
"DisableHunterNavi": false,
|
||||||
"EnableHiganjimaEvent": false,
|
"EnableHiganjimaEvent": false,
|
||||||
"EnableNierEvent": false,
|
"EnableNierEvent": false,
|
||||||
"DisableRoad": false
|
"DisableRoad": false
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ type GameplayOptions struct {
|
|||||||
GZennyMultiplier float32 // Adjusts the multiplier of G Zenny rewarded for quest completion
|
GZennyMultiplier float32 // Adjusts the multiplier of G Zenny rewarded for quest completion
|
||||||
MaterialMultiplier float32 // Adjusts the multiplier of Monster Materials rewarded for quest completion
|
MaterialMultiplier float32 // Adjusts the multiplier of Monster Materials rewarded for quest completion
|
||||||
ExtraCarves uint16 // Grant n extra chances to carve ALL carcasses
|
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
|
EnableHiganjimaEvent bool // Enables the Higanjima event in the Rasta Bar
|
||||||
EnableNierEvent bool // Enables the Nier event in the Rasta Bar
|
EnableNierEvent bool // Enables the Nier event in the Rasta Bar
|
||||||
DisableRoad bool // Disables the Hunting Road
|
DisableRoad bool // Disables the Hunting Road
|
||||||
|
|||||||
@@ -452,6 +452,10 @@ func handleMsgMhfEnumerateQuest(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
|
|
||||||
tuneValues = append(tuneValues, tuneValue{1029, s.server.erupeConfig.GameplayOptions.GUrgentRate})
|
tuneValues = append(tuneValues, tuneValue{1029, s.server.erupeConfig.GameplayOptions.GUrgentRate})
|
||||||
|
|
||||||
|
if s.server.erupeConfig.GameplayOptions.DisableHunterNavi {
|
||||||
|
tuneValues = append(tuneValues, tuneValue{1037, 1})
|
||||||
|
}
|
||||||
|
|
||||||
if s.server.erupeConfig.GameplayOptions.EnableHiganjimaEvent {
|
if s.server.erupeConfig.GameplayOptions.EnableHiganjimaEvent {
|
||||||
tuneValues = append(tuneValues, tuneValue{1144, 1})
|
tuneValues = append(tuneValues, tuneValue{1144, 1})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user