装饰步骤改版优化
This commit is contained in:
parent
afd9c276f3
commit
0a48a58317
@ -857,8 +857,21 @@ func (player *Player) FixDecorate() {
|
||||
if GoUtil.InArray(area_id, []int{3, 4, 5}) && progress >= 20 {
|
||||
items := []*item.Item{}
|
||||
for i := progress + 1; i <= 25; i++ {
|
||||
DecorateItems := decorateCfg.GetProgressReward(area_id, i)
|
||||
items = append(items, DecorateItems...)
|
||||
if area_id == 3 && i == 25 {
|
||||
items = append(items, item.NewItem(item.ITEM_ENERGY_ID, 50))
|
||||
items = append(items, item.NewItem(101449, 1))
|
||||
}
|
||||
if area_id == 4 && i == 22 {
|
||||
items = append(items, item.NewItem(906, 1))
|
||||
}
|
||||
if area_id == 4 && i == 25 {
|
||||
items = append(items, item.NewItem(item.ITEM_ENERGY_ID, 50))
|
||||
items = append(items, item.NewItem(101452, 1))
|
||||
}
|
||||
if area_id == 5 && i == 25 {
|
||||
items = append(items, item.NewItem(item.ITEM_ENERGY_ID, 50))
|
||||
items = append(items, item.NewItem(101450, 1))
|
||||
}
|
||||
}
|
||||
MailMod := player.PlayMod.getMailMod()
|
||||
MailMod.SendMail(&mail.MailStruct{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user