修复潜能满级越界问题
parent
5aa7a6b46e
commit
debeb8fad7
|
|
@ -7185,7 +7185,7 @@ public class HeroLogic {
|
|||
hero.putPotentialLv(type, targetLv);
|
||||
//推送礼包,判断下级材料是走足够,因为道具需求数量不确定,在该处判断逻辑是否推送,推送了礼包直接就弹
|
||||
SPotentialNew config = lvMap.get(targetLv);
|
||||
if (config != null || config.getConsume() != null) {
|
||||
if (config != null && config.getConsume() != null) {
|
||||
int itemId = config.getConsume()[0][0];
|
||||
int num = config.getConsume()[0][1];
|
||||
Item item = user.getItemManager().getItem(itemId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue