灵兽礼包

back_recharge
mengchengzhen 2021-05-24 14:38:22 +08:00
parent e5c6a1723a
commit afda78f8e0
1 changed files with 1 additions and 1 deletions

View File

@ -4588,7 +4588,7 @@ public class HeroLogic{
public static void fiveStarPokemonPushByRandom(User user,int[][] getHeros) throws Exception{
int fiveStarNum = 0;
for(int[] i : getHeros){
SSpiritAnimal ssa = SSpiritAnimal.mapConfig.get(i);
SSpiritAnimal ssa = SSpiritAnimal.mapConfig.get(i[0]);
if(ssa != null && ssa.getQuality()==5){
fiveStarNum = 1;
Poster.getPoster().dispatchEvent(new WelfareRedPackEvent(user.getId(), WelfareRedPacketType.random_pokemon.getType(),1));