"Fourteen of us won't be flying to Tonks's parents. There will be seven Harry Potters moving through the skies tonight, each of them with a companion, each pair heading for a different safe house." — Alastor Moody on the plan to move Harry to safety in 1997[src]The Seven Potters ...
importcom.watabou.pixeldungeon.items.potions.PotionOfHealing;//導入依賴的package包/類privatevoiddoHeal(HealerNPC priest, Collection<? extends Char> patients,inthealingCost){ hide(); Dungeon.gold(Dungeon.gold() - healingCost);for(Char patient: patients) {PotionOfHealing.heal(patient,1.0f);if(pati...
ceil(cost), true); } } } 代码示例来源:origin: Vazkii/Botania @Override public void onWornTick(ItemStack stack, EntityLivingBase player) { super.onWornTick(stack, player); if(!(player instanceof EntityPlayer)) return; EntityPlayer eplayer = (EntityPlayer) player; double range = 24; ...
p.setFlying(false); for (PotionEffect effect : p.getActivePotionEffects()) { p.removePotionEffect(effect.getType()); } } } 代码示例来源:origin: DRE2N/DungeonsXL oldPotionEffects = player.getActivePotionEffects(); 代码示例来源:origin: DRE2N/DungeonsXL for (PotionEffect effect : player.getAct...
if(player.getActivePotionEffect(MobEffects.REGENERATION) == null && mana >= COST) { player.addPotionEffect(new PotionEffect(MobEffects.REGENERATION, 59, 2, true, true)); mana -= COST; did = true; } } if(did) sync(); } } 代码示例来源:origin: Vazkii/Quark ...