From cd5630389964d5b485ebd33eb75a0f215f5be403 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 24 Jul 2021 01:02:20 +0100 Subject: [PATCH] Added shock sword --- .../src/main/resources/ecoweapons.json | 75 ++++++++++++++++++- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/resources/ecoweapons.json b/eco-core/core-plugin/src/main/resources/ecoweapons.json index 3743028..0452d45 100644 --- a/eco-core/core-plugin/src/main/resources/ecoweapons.json +++ b/eco-core/core-plugin/src/main/resources/ecoweapons.json @@ -101,8 +101,8 @@ "&3&oBox in your opponents by", "&3&osending a swarm of arrows.", "", - "&8» &c10% chance to summon lightning", - "&8» &cSurround your opponent with arrows" + "&8» &310% chance to summon lightning", + "&8» &3Surround your opponent with arrows" ], "attributes": [ ], @@ -130,6 +130,77 @@ "trident" ] } + }, + { + "name": "shock_sword", + "conditions": [ + ], + "effects": [ + { + "id": "give-potion-effect", + "args": { + "potion": "confusion", + "duration": 100, + "strength": 3, + "chance": 10 + }, + "trigger": "projectile_hit" + }, + { + "id": "give-potion-effect", + "args": { + "potion": "blindness", + "duration": 100, + "strength": 3, + "chance": 5 + }, + "trigger": "projectile_hit" + } + ], + "item": { + "material": "golden_sword", + "displayName": "Shock Sword", + "lore": [ + "&e&oDazzle your enemies", + "&e&oto gain a quick advantage.", + "", + "&8» &e10% chance to give nausea", + "&8» &e5% chance to give blindness" + ], + "attributes": [ + ], + "unbreakable": false, + "flags": [], + "customModelData": -1, + "enchants": [ + { + "id": "knockback", + "level": 2 + }, + { + "id": "unbreaking", + "level": 3 + }, + { + "id": "mending", + "level": 1 + } + ], + "craftable": true, + "recipe": [ + "", + "beacon", + "", + + "", + "golden_sword", + "", + + "iron_block", + "iron_block", + "iron_block" + ] + } } ] } \ No newline at end of file