添加道具类型:万能狗粮
parent
4954417643
commit
509c9b57c8
|
@ -32,6 +32,8 @@ public interface GlobalItemType {
|
||||||
int SELECTSecretBox=20; // 自选宝箱(前端要区分)
|
int SELECTSecretBox=20; // 自选宝箱(前端要区分)
|
||||||
int SpecialMonster=21; // 灵兽
|
int SpecialMonster=21; // 灵兽
|
||||||
int SpecialMonsterItem=22; // 灵兽碎片
|
int SpecialMonsterItem=22; // 灵兽碎片
|
||||||
|
// 万能狗粮
|
||||||
|
int AllPowerful_DogFood = 25;
|
||||||
//物品使用类型
|
//物品使用类型
|
||||||
int NO_USE = 0 ; //不使用
|
int NO_USE = 0 ; //不使用
|
||||||
int RANDOM_USE = 1; // 随机使用
|
int RANDOM_USE = 1; // 随机使用
|
||||||
|
|
|
@ -543,6 +543,7 @@ public class ItemUtil {
|
||||||
case GlobalItemType.RIDE:
|
case GlobalItemType.RIDE:
|
||||||
case GlobalItemType.SELECTSecretBox:
|
case GlobalItemType.SELECTSecretBox:
|
||||||
case GlobalItemType.SpecialMonsterItem:
|
case GlobalItemType.SpecialMonsterItem:
|
||||||
|
case GlobalItemType.AllPowerful_DogFood:
|
||||||
itemType = GlobalItemType.ITEM;
|
itemType = GlobalItemType.ITEM;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue