mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
Allow non-melle player damage to GG (arrows) damage cap still applies. Damage reduction in hard mode now done using armor
This commit is contained in:
2 files changed
+11
-10
No files matched your search
@@ -62,7 +62,7 @@ public class EntityMagicLandmine extends Entity {
|
||||
if(!worldObj.isRemote) {
|
||||
List<EntityPlayer> players = worldObj.getEntitiesWithinAABB(EntityPlayer.class, new AxisAlignedBB(posX - range, posY - range, posZ - range, posX + range, posY + range, posZ + range));
|
||||
for(EntityPlayer player : players) {
|
||||
player.attackEntityFrom(summoner == null ? DamageSource.generic : DamageSource.causeIndirectMagicDamage(this, summoner), 10);
|
||||
player.attackEntityFrom(DamageSource.causeIndirectMagicDamage(this, summoner), 10);
|
||||
player.addPotionEffect(new PotionEffect(MobEffects.BLINDNESS, 25, 0));
|
||||
PotionEffect wither = new PotionEffect(MobEffects.WITHER, 70, 3);
|
||||
wither.getCurativeItems().clear();
|
||||
|
||||
Reference in new issue
Block a user