mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-17 10:55:10 +00:00
Started working on allowing RitualDiviner to do directions.
Completed refactorization of spell system. Increased protection against void damage while void sigil is in Bound Armour. Added an OnRitualStop with an Enum input providing the action. Added more events.
This commit is contained in:
1 parent
69abce8f85
commit
beea2e875a
97 files changed
+4234
-1414
No files matched your search
+12
-7
@@ -1,6 +1,11 @@
|
||||
package WayofTime.alchemicalWizardry.common.tileEntity;
|
||||
|
||||
import WayofTime.alchemicalWizardry.common.spell.complex.*;
|
||||
import WayofTime.alchemicalWizardry.api.spell.ComplexSpellModifier;
|
||||
import WayofTime.alchemicalWizardry.api.spell.SpellParadigm;
|
||||
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;
|
||||
|
||||
public class TESpellModifierBlock extends TESpellBlock
|
||||
{
|
||||
@@ -10,21 +15,21 @@ public class TESpellModifierBlock extends TESpellBlock
|
||||
parad.modifyBufferedEffect(this.getSpellModifier());
|
||||
}
|
||||
|
||||
public SpellModifier getSpellModifier()
|
||||
public ComplexSpellModifier getSpellModifier()
|
||||
{
|
||||
int meta = worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
switch (meta)
|
||||
{
|
||||
case 0:
|
||||
return new SpellModifierDefault();
|
||||
return ComplexSpellModifier.DEFAULT;
|
||||
case 1:
|
||||
return new SpellModifierOffensive();
|
||||
return ComplexSpellModifier.OFFENSIVE;
|
||||
case 2:
|
||||
return new SpellModifierDefensive();
|
||||
return ComplexSpellModifier.DEFENSIVE;
|
||||
case 3:
|
||||
return new SpellModifierEnvironmental();
|
||||
return ComplexSpellModifier.ENVIRONMENTAL;
|
||||
}
|
||||
return new SpellModifierDefault();
|
||||
return ComplexSpellModifier.DEFAULT;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user