去好友家小猫玩游戏,成功之后如果选产物,都额外加5猫币奖励
This commit is contained in:
parent
0935f089e4
commit
ed1364c21e
@ -464,7 +464,12 @@ func (p *PlayroomMod) SelectReward(Id int) []*item.Item {
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
return []*item.Item{v}
|
||||
Items := make([]*item.Item, 0)
|
||||
Items = append(Items, v)
|
||||
if Id < 3 {
|
||||
Items = append(Items, item.NewItem(item.ITEM_STAR_ID, 5))
|
||||
}
|
||||
return Items
|
||||
}
|
||||
|
||||
func (p *PlayroomMod) Lose(Item []*item.Item) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user