package com.zivilon.cinder_loe.mixins;

import com.zivilon.cinder_loe.CinderLoE;
import lotr.common.LOTRMod;
import lotr.common.enchant.LOTREnchantment;
import lotr.common.enchant.LOTREnchantmentHelper;
import lotr.common.entity.npc.LOTREntityNPC;
import lotr.common.entity.npc.LOTREntityOrc;
import lotr.common.entity.npc.LOTREntityWarg;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;


@Mixin(LOTREntityOrc.class)
public abstract class MixinLOTREntityOrc extends LOTREntityNPC {
    public boolean isWeakOrc = true;

    public MixinLOTREntityOrc(World worldIn) {
        super(worldIn);
    }

    /**
     * @author KeyLime17
     * @reason Removed armor reduction for weak orcs
     */
    @Overwrite(remap = false)
    public int func_70658_aO() { // getTotalArmorValue()
        return super.getTotalArmorValue();
    }
}
