// Path: src/main/java/matgm50/twarden/util/DamageSourceWarden.java
// public class DamageSourceWarden extends EntityDamageSource {
// 
//     public DamageSourceWarden(String par1Str, Entity par2Entity) {
// 
//         super(par1Str, par2Entity);
//         setDamageBypassesArmor();
//         setDamageIsAbsolute();
// 
//     }
// }


import matgm50.twarden.util.DamageSourceWarden;
import net.minecraft.util.DamageSource;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import thaumcraft.api.aspects.Aspect;
package matgm50.twarden.util.wardenic.upgrade;


/**
 * Created by MasterAbdoTGM50 on 8/28/2014.
 */

public class WardenicUpgradeArmor extends WardenicUpgrade {

    public WardenicUpgradeArmor(Aspect aspect) {super(aspect);}

    @Override
    public void onAttacked(LivingHurtEvent event) {

        super.onAttacked(event);

        if(event.source.getEntity() != null) {

// Path: src/main/java/matgm50/twarden/util/DamageSourceWarden.java
// public class DamageSourceWarden extends EntityDamageSource {
// 
//     public DamageSourceWarden(String par1Str, Entity par2Entity) {
// 
//         super(par1Str, par2Entity);
//         setDamageBypassesArmor();
//         setDamageIsAbsolute();
// 
//     }
// }


// Path: src/main/java/matgm50/twarden/util/wardenic/upgrade/WardenicUpgradeArmor.java
import matgm50.twarden.util.DamageSourceWarden;
import net.minecraft.util.DamageSource;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import thaumcraft.api.aspects.Aspect;

package matgm50.twarden.util.wardenic.upgrade;


/**
 * Created by MasterAbdoTGM50 on 8/28/2014.
 */

public class WardenicUpgradeArmor extends WardenicUpgrade {

    public WardenicUpgradeArmor(Aspect aspect) {super(aspect);}

    @Override
    public void onAttacked(LivingHurtEvent event) {

        super.onAttacked(event);

        if(event.source.getEntity() != null) {

            DamageSource damageSource = new DamageSourceWarden("warden", event.entity);