幸运猫优化
This commit is contained in:
parent
83309a3c83
commit
12a8e16d0a
@ -508,7 +508,7 @@ func addEventInfo(E *LTEInfo, EventType, Duration int) {
|
|||||||
Type: limitedTimeEventCfg.GetCatTrickType(Duration),
|
Type: limitedTimeEventCfg.GetCatTrickType(Duration),
|
||||||
})
|
})
|
||||||
case EVENT_TYPE_LUCKY_CAT:
|
case EVENT_TYPE_LUCKY_CAT:
|
||||||
MaxEarning := limitedTimeEventCfg.GetLuckyCatMaxEarning(int(E.Remian))
|
MaxEarning := limitedTimeEventCfg.GetLuckyCatMaxEarning(Duration)
|
||||||
d := E.D.(*LuckyCat)
|
d := E.D.(*LuckyCat)
|
||||||
d.MaxEarings += MaxEarning
|
d.MaxEarings += MaxEarning
|
||||||
case EVENT_TYPE_PAYBACK_DAY:
|
case EVENT_TYPE_PAYBACK_DAY:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user