Skip to content

Commit

Permalink
update for 12/11 event
Browse files Browse the repository at this point in the history
  • Loading branch information
inada-s committed Dec 10, 2020
1 parent 48edd42 commit a64959d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
9 changes: 9 additions & 0 deletions gdxsv/lbs_lobby.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ func NewLobby(app *Lbs, platform, disk string, lobbyID uint16) *LbsLobby {
lobby.Rule.ZeonMaskDC = MSMaskDCGundam | MSMaskDCGM | MSMaskDCGelgoogS | MSMaskDCGelgoog | MSMaskDCZgokS | MSMaskDCZgok
}

if lobby.LobbySetting.LowCostMSEvent {
lobby.Rule.RenpoMaskDC = MSMaskDCGuntank | MSMaskDCZgok | MSMaskDCZock | MSMaskDCGogg | MSMaskDCGouf | MSMaskDCGM | MSMaskDCZaku2S | MSMaskDCLGM | MSMaskDCAcguy | MSMaskDCZaku2 | MSMaskDCZaku1
lobby.Rule.ZeonMaskDC = MSMaskDCGuntank | MSMaskDCZgok | MSMaskDCZock | MSMaskDCGogg | MSMaskDCGouf | MSMaskDCGM | MSMaskDCZaku2S | MSMaskDCLGM | MSMaskDCAcguy | MSMaskDCZaku2 | MSMaskDCZaku1
}

if lobby.LobbySetting.UnlimitedAmmo {
lobby.Rule.ReloadFlag = 1
}

if 0 < lobby.LobbySetting.AutoReBattle {
lobby.Rule.AutoRebattle = byte(lobby.LobbySetting.AutoReBattle)
}
Expand Down
33 changes: 19 additions & 14 deletions gdxsv/lbs_lobby_setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ type LobbySetting struct {
PingLimit bool
No375MS bool
Cost630 bool
UnlimitedAmmo bool

BeamMSEvent bool
BeamMSEvent bool
LowCostMSEvent bool
}

func init() {
Expand Down Expand Up @@ -137,23 +139,26 @@ func init() {
Comment: "Free Lobby",
},
15: {
Name: "ア・バオア・クー宙域",
McsRegion: "best",
BeamMSEvent: true,
Comment: "Event Lobby",
Name: "ア・バオア・クー宙域",
McsRegion: "best",
LowCostMSEvent: true,
UnlimitedAmmo: true,
Comment: "Event Lobby",
},
16: {
Name: "ア・バオア・クー外部",
McsRegion: "best",
BeamMSEvent: true,
Comment: "Event Lobby",
Name: "ア・バオア・クー外部",
McsRegion: "best",
LowCostMSEvent: true,
UnlimitedAmmo: true,
Comment: "Event Lobby",
},
17: {
Name: "ア・バオア・クー内部",
McsRegion: "best",
BeamMSEvent: true,
TeamShuffle: true,
Comment: "Event Lobby (TeamShuffle)",
Name: "ア・バオア・クー内部",
McsRegion: "best",
LowCostMSEvent: true,
UnlimitedAmmo: true,
TeamShuffle: true,
Comment: "Event Lobby (TeamShuffle)",
},
18: {
// PS2 Only
Expand Down

0 comments on commit a64959d

Please sign in to comment.