好感度碎片道具提交
parent
0138170505
commit
a3cede0bb8
|
@ -42,6 +42,7 @@ public interface GlobalItemType {
|
||||||
int HOOK_PROP=32;//挂机奖励资源道具
|
int HOOK_PROP=32;//挂机奖励资源道具
|
||||||
|
|
||||||
int GOD_SEAL= 34;//神印
|
int GOD_SEAL= 34;//神印
|
||||||
|
int LIKABILITY_CHIP = 35;//好感度碎片
|
||||||
|
|
||||||
//物品使用类型
|
//物品使用类型
|
||||||
int NO_USE = 0 ; //不使用
|
int NO_USE = 0 ; //不使用
|
||||||
|
|
|
@ -472,7 +472,7 @@ public class StoreLogic implements IEventHandler {
|
||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
if(totalWeight==0){
|
if(totalWeight==0){
|
||||||
//没有符合规则的栏位奖励
|
//没有符合规则的栏位奖励
|
||||||
LOGGER.error("getRewardId uid={}没有符合规则的栏位奖励sort=>{}, sort=>{}", user.getId(),storeId,sort);
|
LOGGER.info("getRewardId uid={}没有符合规则的栏位奖励sort=>{}, sort=>{}", user.getId(),storeId,sort);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int randomWeight = random.nextInt(totalWeight) + 1;
|
int randomWeight = random.nextInt(totalWeight) + 1;
|
||||||
|
|
|
@ -627,6 +627,7 @@ public class ItemUtil {
|
||||||
case GlobalItemType.LikableCostItem:
|
case GlobalItemType.LikableCostItem:
|
||||||
case GlobalItemType.MOUNT_FRAGMENTS_ITEM:
|
case GlobalItemType.MOUNT_FRAGMENTS_ITEM:
|
||||||
case GlobalItemType.TRUMP_CHIP:
|
case GlobalItemType.TRUMP_CHIP:
|
||||||
|
case GlobalItemType.LIKABILITY_CHIP:
|
||||||
case GlobalItemType.LIFE_STONE:
|
case GlobalItemType.LIFE_STONE:
|
||||||
case GlobalItemType.TRANSFORMATION_CARD:
|
case GlobalItemType.TRANSFORMATION_CARD:
|
||||||
case GlobalItemType.HOOK_PROP:
|
case GlobalItemType.HOOK_PROP:
|
||||||
|
|
Loading…
Reference in New Issue