bravo-listener-boom
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user