能量倍数bug修复
This commit is contained in:
parent
e4b8eb9d2c
commit
0f41aa3da8
@ -180,9 +180,7 @@ func (b *Base) BuyEnergy(Energy int) ([]*item.Item, int, int) {
|
|||||||
|
|
||||||
// HighRoller 结束时重置能量倍数
|
// HighRoller 结束时重置能量倍数
|
||||||
func (b *Base) ResetEnergyMul(Mul int) {
|
func (b *Base) ResetEnergyMul(Mul int) {
|
||||||
if Mul < b.EnergyMul {
|
b.EnergyMul = Mul
|
||||||
b.EnergyMul = 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Base) BackData() *msg.BaseInfo {
|
func (b *Base) BackData() *msg.BaseInfo {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user