bravo-listener-boom

This commit is contained in:
khalil
2025-03-25 15:28:44 +08:00
parent bb6b7dbabb
commit f74e7f2607
2 changed files with 7 additions and 3 deletions

View File

@@ -104,7 +104,9 @@ public class RamadanGiftSendService {
Double addPoolGold, addPoolGoldRate;
if (GiftTypeEnum.CP.getType() == giftType) {
addPoolGoldRate = config.getCpGiftPoolGoldRate();
} else if (GiftTypeEnum.LUCKY_24.getType() == giftType || GiftTypeEnum.SUPER_LUCKY.getType() == giftType) {
} else if (GiftTypeEnum.LUCKY_24.getType() == giftType
|| GiftTypeEnum.SUPER_LUCKY.getType() == giftType
|| GiftTypeEnum.BRAVO.getType() == giftType) {
addPoolGoldRate = config.getLuckyPoolGoldRate();
goldNum = luckyGiftGoldNum;
} else if (GiftTypeEnum.CUSTOM.getType() == giftType) {

View File

@@ -109,7 +109,8 @@ public class RoomBoomBizService {
return;
}
if (Constant.GiftType.LUCKY_24 == giftType
|| Constant.GiftType.SUPER_LUCKY == giftType) {
|| Constant.GiftType.SUPER_LUCKY == giftType
|| Constant.GiftType.BRAVO_GIFT == giftType) {
if (goldNum <= 0) {
goldNum = giftMessage.getRealGoldNum();
}
@@ -127,7 +128,8 @@ public class RoomBoomBizService {
private BigDecimal boomRateStat(Integer partitionId, Byte giftType) {
BigDecimal boomRate = NORMAL_GIFT_BOOM_RATE;
if (Constant.GiftType.LUCKY_24 == giftType
|| Constant.GiftType.SUPER_LUCKY == giftType) {
|| Constant.GiftType.SUPER_LUCKY == giftType
|| Constant.GiftType.BRAVO_GIFT == giftType) {
if (PartitionEnum.ARAB.getId() == partitionId) {
boomRate = SUPER_GIFT_BOOM_RATE_AR;
} else if (PartitionEnum.ENGLISH.getId() == partitionId || PartitionEnum.CHINESS.getId() == partitionId) {