5/12 Finished for SpellEffectIce

This commit is contained in:
WayofTime 2014-02-01 12:30:03 -05:00
parent 2bb7a5fffb
commit 05c86e03bf
9 changed files with 211 additions and 20 deletions

View file

@ -2,6 +2,9 @@ package WayofTime.alchemicalWizardry.common.tileEntity;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellModifier;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellModifierDefault;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellModifierDefensive;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellModifierEnvironmental;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellModifierOffensive;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigm;
public class TESpellModifierBlock extends TESpellBlock
@ -14,6 +17,14 @@ public class TESpellModifierBlock extends TESpellBlock
public SpellModifier getSpellModifier()
{
int meta = worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
switch(meta)
{
case 0: return new SpellModifierDefault();
case 1: return new SpellModifierOffensive();
case 2: return new SpellModifierDefensive();
case 3: return new SpellModifierEnvironmental();
}
return new SpellModifierDefault();
}
}