订单优化
This commit is contained in:
parent
96e4b63f63
commit
f45425b019
@ -994,7 +994,7 @@ func (player *Player) FormatOrderReward() {
|
|||||||
ExpCoin := (Exp-BaseMod.GetExp())*decorateCfg.GetAreaPerPExp(DecorateMod.GetAreaId()) - BaseMod.GetStar()
|
ExpCoin := (Exp-BaseMod.GetExp())*decorateCfg.GetAreaPerPExp(DecorateMod.GetAreaId()) - BaseMod.GetStar()
|
||||||
PExpCoin := (PExp-BaseMod.GetPExp())*50 - player.GetPetOrderItemExp()
|
PExpCoin := (PExp-BaseMod.GetPExp())*50 - player.GetPetOrderItemExp()
|
||||||
OrderMod := player.PlayMod.getOrderMod()
|
OrderMod := player.PlayMod.getOrderMod()
|
||||||
if ExpCoin > PExpCoin || BaseMod.GetLevel() < 6 {
|
if ExpCoin > PExpCoin || BaseMod.GetLevel() < 17 {
|
||||||
for k, v := range OrderMod.GetOrderList() {
|
for k, v := range OrderMod.GetOrderList() {
|
||||||
if len(v.Items) != 0 {
|
if len(v.Items) != 0 {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user