Small Changes
This commit is contained in:
parent
b95c6ad6f6
commit
487a0ca48f
|
@ -84,7 +84,7 @@ import cpw.mods.fml.common.network.NetworkRegistry;
|
||||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||||
import cpw.mods.fml.common.registry.GameRegistry;
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
@Mod(modid = "AWWayofTime", name = "AlchemicalWizardry", version = "v1.2.0b")
|
@Mod(modid = "AWWayofTime", name = "AlchemicalWizardry", version = "v1.2.0b (Beta1)")
|
||||||
|
|
||||||
public class AlchemicalWizardry
|
public class AlchemicalWizardry
|
||||||
{
|
{
|
||||||
|
|
|
@ -49,7 +49,6 @@ public abstract class ExtrapolatedMeleeEntityEffect implements IMeleeSpellEntity
|
||||||
hit++;
|
hit++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
package WayofTime.alchemicalWizardry.common.spell.complex.effect.impactEffects.fire;
|
package WayofTime.alchemicalWizardry.common.spell.complex.effect.impactEffects.fire;
|
||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
|
||||||
import WayofTime.alchemicalWizardry.common.spell.complex.effect.impactEffects.ExtrapolatedMeleeEntityEffect;
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityLiving;
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.potion.PotionEffect;
|
import net.minecraft.potion.PotionEffect;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
|
import WayofTime.alchemicalWizardry.common.spell.complex.effect.impactEffects.ExtrapolatedMeleeEntityEffect;
|
||||||
|
|
||||||
public class MeleeOffensiveFire extends ExtrapolatedMeleeEntityEffect
|
public class MeleeOffensiveFire extends ExtrapolatedMeleeEntityEffect
|
||||||
{
|
{
|
||||||
|
@ -21,9 +22,9 @@ public class MeleeOffensiveFire extends ExtrapolatedMeleeEntityEffect
|
||||||
@Override
|
@Override
|
||||||
protected boolean entityEffect(World world, Entity entity, EntityPlayer entityPlayer)
|
protected boolean entityEffect(World world, Entity entity, EntityPlayer entityPlayer)
|
||||||
{
|
{
|
||||||
if (entity instanceof EntityLiving)
|
if (entity instanceof EntityLivingBase)
|
||||||
{
|
{
|
||||||
((EntityLiving) entity).addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionFireFuse.id, 20 * (7 - this.powerUpgrades), this.potencyUpgrades));
|
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionFireFuse.id, 20 * (7 - this.powerUpgrades), this.potencyUpgrades));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue