public boolean func_70097_a(DamageSource p_70097_1_, int p_70097_2_) { if (!this.field_70170_p.field_72995_K && !this.field_70128_L) { if (this.func_85032_ar()) { return false; } else { this.func_70494_i(-this.func_70493_k()); this.func_70497_h(10); this.func_70018_K(); this.func_70492_c(this.func_70491_i() + p_70097_2_ * 10); boolean var3 = p_70097_1_.func_76346_g() instanceof EntityPlayer && ((EntityPlayer) p_70097_1_.func_76346_g()).field_71075_bZ.field_75098_d; if (var3 || this.func_70491_i() > 40) { if (this.field_70153_n != null) { this.field_70153_n.func_70078_a(this); } if (var3 && !this.func_94042_c()) { this.func_70106_y(); } else { this.func_94095_a(p_70097_1_); } } return true; } } else { return true; } }
public boolean func_70097_a(DamageSource p_70097_1_, int p_70097_2_) { Entity entity = p_70097_1_.func_76346_g(); field_70911_d.func_75270_a(false); if (entity != null && !(entity instanceof EntityPlayer) && !(entity instanceof EntityArrow)) { p_70097_2_ = (p_70097_2_ + 1) / 2; } return super.func_70097_a(p_70097_1_, p_70097_2_); }
public boolean func_70097_a(DamageSource p_70097_1_, int p_70097_2_) { func_70018_K(); if (p_70097_1_.func_76346_g() != null) { Vec3 vec3 = p_70097_1_.func_76346_g().func_70040_Z(); if (vec3 != null) { field_70159_w = vec3.field_72450_a; field_70181_x = vec3.field_72448_b; field_70179_y = vec3.field_72449_c; field_70232_b = field_70159_w * 0.10000000000000001D; field_70233_c = field_70181_x * 0.10000000000000001D; field_70230_d = field_70179_y * 0.10000000000000001D; } if (p_70097_1_.func_76346_g() instanceof EntityLiving) { field_70235_a = (EntityLiving) p_70097_1_.func_76346_g(); } return true; } else { return false; } }
public boolean func_70097_a(DamageSource p_70097_1_, int p_70097_2_) { if (p_70097_1_ instanceof EntityDamageSourceIndirect) { for (int var3 = 0; var3 < 64; ++var3) { if (this.func_70820_n()) { return true; } } return false; } else { if (p_70097_1_.func_76346_g() instanceof EntityPlayer) { this.func_70819_e(true); } return super.func_70097_a(p_70097_1_, p_70097_2_); } }
public void func_70645_a(DamageSource p_70645_1_) { super.func_70645_a(p_70645_1_); if (p_70645_1_.func_76346_g() instanceof EntitySkeleton) { func_70025_b(Item.field_77819_bI.field_77779_bT + field_70146_Z.nextInt(10), 1); } }