diff --git a/modules/library/api_usegift.go b/modules/library/api_usegift.go index 654e7d2e4..b4977d312 100644 --- a/modules/library/api_usegift.go +++ b/modules/library/api_usegift.go @@ -122,6 +122,9 @@ func (this *apiComp) UseGift(session comm.IUserSession, req *pb.LibraryUseGiftRe } } } + if likeStates == 0 { + addExp = int32(math.Floor(float64(addExp / 1000))) + } res = append(res, &cfg.Gameatn{ A: "item",