``refactor(player): 统一将UseCoins方法重命名为GetCoins并优化宠物融合扣费逻辑``
This commit is contained in:
@@ -54,7 +54,7 @@ func (h *Controller) PlayerPetCure(data *nono.PetCureInboundInfo, c *player.Play
|
||||
if c.GetSpace().Owner.UserID == c.Info.UserID {
|
||||
return result, errorcode.ErrorCodes.ErrChampionCannotHeal
|
||||
}
|
||||
if !c.UseCoins(50) {
|
||||
if !c.GetCoins(50) {
|
||||
return result, errorcode.ErrorCodes.ErrSunDouInsufficient10016
|
||||
}
|
||||
for i := 0; i < len(c.Info.PetList); i++ {
|
||||
|
||||
Reference in New Issue
Block a user