Moved more spell stuff, created localized APISpellHelper, created RitualActivatedEvent
This commit is contained in:
parent
8c1396421a
commit
f39db196ca
30 changed files with 284 additions and 121 deletions
src/main/java/WayofTime/alchemicalWizardry/api/spell
|
@ -1,5 +1,6 @@
|
|||
package WayofTime.alchemicalWizardry.api.spell;
|
||||
|
||||
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
||||
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -43,7 +44,7 @@ public class SpellParadigmProjectile extends SpellParadigm
|
|||
{
|
||||
int cost = this.getTotalCost();
|
||||
|
||||
if(!EnergyItems.syphonBatteries(itemStack, entityPlayer, cost))
|
||||
if(!SoulNetworkHandler.syphonAndDamageFromNetwork(itemStack, entityPlayer, cost))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue