diff --git a/src/main/java/com/mythlane/chainlightning/sceptre/ChainLightningSceptreInteraction.java b/src/main/java/com/mythlane/chainlightning/sceptre/ChainLightningSceptreInteraction.java index 4adadf2..66b1c79 100644 --- a/src/main/java/com/mythlane/chainlightning/sceptre/ChainLightningSceptreInteraction.java +++ b/src/main/java/com/mythlane/chainlightning/sceptre/ChainLightningSceptreInteraction.java @@ -48,6 +48,9 @@ public final class ChainLightningSceptreInteraction extends SimpleInstantInterac protected void firstRun(@Nonnull InteractionType type, @Nonnull InteractionContext context, @Nonnull CooldownHandler cooldownHandler) { + if (type != InteractionType.Secondary) { + return; + } CooldownHandler.Cooldown cooldown = cooldownHandler.getCooldown( COOLDOWN_ID, COOLDOWN_TIME, CHARGE_TIMES, FORCE_CREATE, INTERRUPT_RECHARGE); if (cooldown == null || cooldown.hasCooldown(false)) { diff --git a/src/main/resources/Server/Entity/Effects/Chain_Hit_Effect.json b/src/main/resources/Server/Entity/Effects/Chain_Hit_Effect.json index 2fc21d4..8599a38 100644 --- a/src/main/resources/Server/Entity/Effects/Chain_Hit_Effect.json +++ b/src/main/resources/Server/Entity/Effects/Chain_Hit_Effect.json @@ -1,6 +1,6 @@ { "Name": "entity_effect.chain_lightning.hit", - "Duration": 0.6, + "Duration": 0.05, "OverlapBehavior": "Overwrite", "Debuff": true, "ApplicationEffects": { diff --git a/src/main/resources/Server/Item/Items/chain_lightning_sceptre.json b/src/main/resources/Server/Item/Items/chain_lightning_sceptre.json index 9d6e04d..d485f9e 100644 --- a/src/main/resources/Server/Item/Items/chain_lightning_sceptre.json +++ b/src/main/resources/Server/Item/Items/chain_lightning_sceptre.json @@ -16,7 +16,6 @@ "Compatible": true }, "Interactions": { - "Primary": "chain_lightning_sceptre_root", "Secondary": "chain_lightning_sceptre_root" }, "IconProperties": {