破产增加时间线
This commit is contained in:
parent
fbcf8080fc
commit
bb389218ae
@ -343,6 +343,7 @@ func (p *Player) handle(m *msg.Msg) error {
|
||||
m.Item[0].Num = min(m.Item[0].Num, starNum)
|
||||
if m.Item[0].Num >= starNum {
|
||||
broken = true
|
||||
p.AddLog(m.From, friend.LOG_TYPE_PLAYROOM_BROKEN, fmt.Sprintf("%d", m.Item[0].Id), m.SendT)
|
||||
}
|
||||
p.HandleLoseItem(m.Item, "HANDLE_TYPE_PLAYROOM_LOSE")
|
||||
} else {
|
||||
|
||||
@ -127,6 +127,7 @@ const (
|
||||
LOG_TYPE_TREASURE_HELP = 30 // 好友宝藏帮助
|
||||
LOG_TYPE_FRIEND_SPONSOR = 31 // 好友赞助体力
|
||||
LOG_TYPE_FRIEND_SPONSOR_GET = 32 // 获得好友赞助体力
|
||||
LOG_TYPE_PLAYROOM_BROKEN = 33 // 小猫游戏,玩家的Playroom被拜访的玩家破产
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user