Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INIT:scoreboard objectives add CallLightning dummy
- INIT:scoreboard objectives add ElectricImpact dummy
- INIT:scoreboard objectives add ElectImpacting dummy
- INIT:scoreboard objectives add ChainLightning dummy
- INIT:scoreboard objectives add ChainLightningI dummy
- INIT:scoreboard objectives add ChainLightningez dummy
- INIT:scoreboard objectives add ConductSurge dummy
- INIT:scoreboard objectives add ConductStands dummy
- INIT:scoreboard objectives add PowerCharge dummy
- INIT:scoreboard objectives add PowerCharged dummy
- INIT:scoreboard objectives add PowerChargeUp dummy
- scoreboard players tag @e[type=item] add LeatherBoots {Item:{id:"minecraft:leather_boots",Count:1b}}
- scoreboard players tag @e[type=item] add BlazeRod {Item:{id:"minecraft:blaze_rod",Count:1b,Damage:0s}}
- execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ playsound minecraft:entity.lightning.thunder master @a[r=5] ~ ~ ~ 1 1 1
- execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ summon lightning_bolt ~ ~1 ~
- execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ setblock ~ ~ ~ air 0 replace fire
- execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ summon item ~ ~1.5 ~ {Invulnerable:1b,Motion:[0.0,0.1,0.0],Item:{id:"minecraft:leather_boots",Count:1b,Damage:0s,tag:{HideFlags:62,Unbreakable:1,display:{LocName:"Lightning Bending Boots",Lore:["Boots of a lightning bender"],color:16770560}}}}
- execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ kill @e[type=item,r=1]
- scoreboard players tag @a[tag=LightningBend] remove LightningBend
- scoreboard players tag @a add LightningBend {Inventory:[{Slot:100b,id:"minecraft:leather_boots",tag:{display:{Lore:["Boots of a lightning bender"]}}}]}
- replaceitem entity @a[score_CallLightning_min=10,score_CallLightning=10,tag=!CallLightningH] slot.hotbar.0 blaze_rod 1 0 {display:{LocName:"Call Lightning [Press Q]",Lore:["Calls down a single bolt of lightning"]}}
- scoreboard players set @a[tag=CallLightningH] CallLightning 0
- scoreboard players tag @a[tag=CallLightningH] remove CallLightningH
- scoreboard players tag @a[tag=LightningBend] add CallLightningH {Inventory:[{tag:{display:{LocName:"Call Lightning [Press Q]",Lore:["Calls down a single bolt of lightning"]}}}]}
- execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!CallLightningH] CallLightning 1
- title @a[tag=0Select,score_CallLightning_min=1,score_CallLightning=1] actionbar ["",{"text":"Call Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=0Select,score_CallLightning_min=3,score_CallLightning=3] actionbar ["",{"text":"Call Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588","color":"gold"},{"text":"\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=0Select,score_CallLightning_min=6,score_CallLightning=6] actionbar ["",{"text":"Call Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588","color":"gold"},{"text":"\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=0Select,score_CallLightning_min=9,score_CallLightning=9] actionbar ["",{"text":"Call Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"gold"},{"text":"","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- /title @a[tag=0Select,score_CallLightning_min=10] actionbar ["",{"text":"Call Lightning","bold":true,"italic":true,"color":"yellow"},{"text":" ","italic":true,"color":"yellow"},{"text":"[","bold":true},{"text":"Ready","bold":true,"color":"gold"},{"text":"]","bold":true}]
- kill @e[tag=CallLightning]
- scoreboard players tag @e[type=item] add CallLightning {Item:{id:"minecraft:blaze_rod",tag:{display:{LocName:"Call Lightning [Press Q]",Lore:["Calls down a single bolt of lightning"]}}}}
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-14,ry=14] ~ ~ ~ summon lightning_bolt ~ ~ ~8
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=15,ry=44] ~ ~ ~ summon lightning_bolt ~-4 ~ ~7
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=45,ry=74] ~ ~ ~ summon lightning_bolt ~-7 ~ ~4
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=75,ry=104] ~ ~ ~ summon lightning_bolt ~-8 ~ ~
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=105,ry=134] ~ ~ ~ summon lightning_bolt ~-7 ~ ~-4
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=135,ry=164] ~ ~ ~ summon lightning_bolt ~-4 ~ ~-7
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=165,ry=-165] ~ ~ ~ summon lightning_bolt ~ ~ ~-8
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-164,ry=-135] ~ ~ ~ summon lightning_bolt ~4 ~ ~-7
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-134,ry=-105] ~ ~ ~ summon lightning_bolt ~7 ~ ~-4
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-104,ry=-75] ~ ~ ~ summon lightning_bolt ~8 ~ ~
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-74,ry=-45] ~ ~ ~ summon lightning_bolt ~7 ~ ~4
- execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-44,ry=-15] ~ ~ ~ summon lightning_bolt ~4 ~ ~7
- replaceitem entity @a[score_ElectricImpact_min=40,score_ElectricImpact=40,tag=!ElectricImpactH] slot.hotbar.1 gold_ingot 1 0 {display:{LocName:"Electric Impact [Press Q]",Lore:["Conjures a salvo of lightning bolts"]}}
- scoreboard players set @a[tag=ElectricImpactH] ElectricImpact 0
- scoreboard players tag @a[tag=ElectricImpactH] remove ElectricImpactH
- scoreboard players tag @a[tag=LightningBend] add ElectricImpactH {Inventory:[{tag:{display:{LocName:"Electric Impact [Press Q]",Lore:["Conjures a salvo of lightning bolts"]}}}]}
- execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ElectricImpactH] ElectricImpact 1
- title @a[tag=1Select,score_ElectricImpact_min=1,score_ElectricImpact=1] actionbar ["",{"text":"Electric Impact ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=1Select,score_ElectricImpact_min=13,score_ElectricImpact=13] actionbar ["",{"text":"Electric Impact ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588","color":"gold"},{"text":"\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=1Select,score_ElectricImpact_min=26,score_ElectricImpact=26] actionbar ["",{"text":"Electric Impact ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588","color":"gold"},{"text":"\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=1Select,score_ElectricImpact_min=39,score_ElectricImpact=39] actionbar ["",{"text":"Electric Impact ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"gold"},{"text":"","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- /title @a[tag=1Select,score_ElectricImpact_min=40] actionbar ["",{"text":"Electric Impact","bold":true,"italic":true,"color":"yellow"},{"text":" ","italic":true,"color":"yellow"},{"text":"[","bold":true},{"text":"Ready","bold":true,"color":"gold"},{"text":"]","bold":true}]
- kill @e[tag=ElectricImpact]
- scoreboard players tag @e[type=item] add ElectricImpact {Item:{id:"minecraft:gold_ingot",tag:{display:{LocName:"Electric Impact [Press Q]",Lore:["Conjures a salvo of lightning bolts"]}}}}
- scoreboard players tag @a[tag=0Select] remove 0Select
- scoreboard players tag @a[tag=LightningBend] add 0Select {SelectedItemSlot:0}
- scoreboard players tag @a[tag=1Select] remove 1Select
- scoreboard players tag @a[tag=LightningBend] add 1Select {SelectedItemSlot:1}
- scoreboard players tag @a[tag=2Select] remove 2Select
- scoreboard players tag @a[tag=LightningBend] add 2Select {SelectedItemSlot:2}
- scoreboard players tag @a[tag=3Select] remove 3Select
- scoreboard players tag @a[tag=LightningBend] add 3Select {SelectedItemSlot:3}
- scoreboard players tag @a[tag=4Select] remove 4Select
- scoreboard players tag @a[tag=LightningBend] add 4Select {SelectedItemSlot:4}
- scoreboard players tag @a[tag=5Select] remove 5Select
- scoreboard players tag @a[tag=LightningBend] add 5Select {SelectedItemSlot:5}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-14,ry=14] ~ ~ ~ summon armor_stand ~ ~ ~8 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=15,ry=44] ~ ~ ~ summon armor_stand ~-4 ~ ~7 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=45,ry=74] ~ ~ ~ summon armor_stand ~-7 ~ ~4 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=75,ry=104] ~ ~ ~ summon armor_stand ~-8 ~ ~ {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=105,ry=134] ~ ~ ~ summon armor_stand ~-7 ~ ~-4 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=135,ry=164] ~ ~ ~ summon armor_stand ~-4 ~ ~-7 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=135,ry=164] ~ ~ ~ summon armor_stand ~ ~ ~-8 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=165,ry=-135] ~ ~ ~ summon armor_stand ~4 ~ ~-7 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-134,ry=-105] ~ ~ ~ summon armor_stand ~7 ~ ~-4 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-104,ry=-75] ~ ~ ~ summon armor_stand ~8 ~ ~ {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-74,ry=-45] ~ ~ ~ summon armor_stand ~7 ~ ~4 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- execute @e[tag=ElectricImpact] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-44,ry=-15] ~ ~ ~ summon armor_stand ~4 ~ ~7 {Tags:["ElectImpact"],Invisible:1,Marker:1}
- scoreboard players add @e[tag=ElectImpact] ElectImpacting 1
- kill @e[tag=ElectImpact,score_ElectImpacting_min=11]
- execute @e[tag=ElectImpact,score_ElectImpacting=1] ~ ~ ~ /particle smoke ~ ~ ~ 0.1 100 0.1 0.1 1000 force @a
- execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~1 ~ ~1
- execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~-1 ~ ~1
- execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~-1 ~ ~-1
- execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~3 ~-5 ~-2 ~3 ~15 ~2 fire 0 replace air 0
- execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-3 ~-5 ~-2 ~-3 ~15 ~2 fire 0 replace air 0
- execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-2 ~-5 ~3 ~2 ~15 ~3 fire 0 replace air 0
- execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-2 ~-5 ~-3 ~2 ~15 ~-3 fire 0 replace air 0
- execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ particle flame ~ ~ ~ 1 15 1 0.1 100 force @a
- execute @e[tag=ElectImpact] ~ ~ ~ detect ~ ~-1 ~ air 0 tp @s ~ ~-1 ~
- replaceitem entity @a[score_ChainLightning_min=200,score_ChainLightning=200,tag=!ChainLightningH] slot.hotbar.2 dye 1 11 {display:{LocName:"Chain Lightning [Press Q]",Lore:["Strings lightning strikes on nearby targets"]}}
- scoreboard players set @a[tag=ChainLightningH] ChainLightning 0
- scoreboard players tag @a[tag=ChainLightningH] remove ChainLightningH
- scoreboard players tag @a[tag=LightningBend] add ChainLightningH {Inventory:[{tag:{display:{LocName:"Chain Lightning [Press Q]",Lore:["Strings lightning strikes on nearby targets"]}}}]}
- execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ChainLightningH] ChainLightning 1
- title @a[tag=2Select,score_ChainLightning_min=1,score_ChainLightning=1] actionbar ["",{"text":"Chain Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=2Select,score_ChainLightning_min=66,score_ChainLightning=66] actionbar ["",{"text":"Chain Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588","color":"gold"},{"text":"\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=2Select,score_ChainLightning_min=132,score_ChainLightning=132] actionbar ["",{"text":"Chain Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588","color":"gold"},{"text":"\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=2Select,score_ChainLightning_min=199,score_ChainLightning=199] actionbar ["",{"text":"Chain Lightning ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"gold"},{"text":"","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- /title @a[tag=2Select,score_ChainLightning_min=200] actionbar ["",{"text":"Chain Lightning","bold":true,"italic":true,"color":"yellow"},{"text":" ","italic":true,"color":"yellow"},{"text":"[","bold":true},{"text":"Ready","bold":true,"color":"gold"},{"text":"]","bold":true}]
- kill @e[tag=ChainLightning]
- scoreboard players tag @e[type=item] add ChainLightning {Item:{id:"minecraft:dye",tag:{display:{LocName:"Chain Lightning [Press Q]",Lore:["Strings lightning strikes on nearby targets"]}}}}
- execute @e[tag=ChainLightning] ~ ~ ~ scoreboard players tag @p[r=3,c=1,tag=LightningBend] add ChainLightningez
- execute @e[tag=ChainLightning] ~ ~ ~ execute @e[r=10,rm=2,c=1,type=!item,tag=!ChainLightningez] ~ ~ ~ summon lightning_bolt ~ ~ ~
- scoreboard players tag @e[tag=ChainLightningez] remove ChainLightninged
- execute @e[tag=ChainLightning] ~ ~ ~ scoreboard players tag @e[r=10,rm=0,c=1,type=!item,tag=!ChainLightningez] add ChainLightninged
- scoreboard players tag @e[tag=ChainLightningez,score_ChainLightningez_min=40] remove ChainLightningez
- scoreboard players tag @e[tag=ChainLightninged] add ChainLightningez
- scoreboard players set @e[score_ChainLightningez_min=40] ChainLightningez 0
- scoreboard players add @e[tag=ChainLightningez] ChainLightningez 1
- execute @e[tag=ChainLightninged] ~ ~ ~ scoreboard players tag @e[r=10,rm=0,c=1,type=!item,tag=!ChainLightningez] add ChainLightninged
- execute @e[tag=ChainLightninged] ~ ~ ~ summon lightning_bolt ~ ~ ~
- replaceitem entity @a[score_ConductSurge_min=100,score_ConductSurge=100,tag=!ConductSurgeH] slot.hotbar.3 glowstone_dust 1 0 {display:{LocName:"Conductive Surge [Press Q]",Lore:["Carries and electric current through conductive blocks that strikes enemies"]}}
- scoreboard players set @a[tag=ConductSurgeH] ConductSurge 0
- scoreboard players tag @a[tag=ConductSurgeH] remove ConductSurgeH
- scoreboard players tag @a[tag=LightningBend] add ConductSurgeH {Inventory:[{tag:{display:{LocName:"Conductive Surge [Press Q]",Lore:["Carries and electric current through conductive blocks that strikes enemies"]}}}]}
- execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ConductSurgeH] ConductSurge 1
- title @a[tag=3Select,score_ConductSurge_min=1,score_ConductSurge=1] actionbar ["",{"text":"Conductive Surge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=3Select,score_ConductSurge_min=33,score_ConductSurge=33] actionbar ["",{"text":"Conductive Surge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588","color":"gold"},{"text":"\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=3Select,score_ConductSurge_min=66,score_ConductSurge=66] actionbar ["",{"text":"Conductive Surge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588","color":"gold"},{"text":"\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=3Select,score_ConductSurge_min=99,score_ConductSurge=99] actionbar ["",{"text":"Conductive Surge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"gold"},{"text":"","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- /title @a[tag=3Select,score_ConductSurge_min=100] actionbar ["",{"text":"Conductive Surge","bold":true,"italic":true,"color":"yellow"},{"text":" ","italic":true,"color":"yellow"},{"text":"[","bold":true},{"text":"Ready","bold":true,"color":"gold"},{"text":"]","bold":true}]
- kill @e[tag=ConductSurge]
- scoreboard players tag @e[type=item] add ConductSurge {Item:{id:"minecraft:glowstone_dust",tag:{display:{LocName:"Conductive Surge [Press Q]",Lore:["Carries and electric current through conductive blocks that strikes enemies"]}}}}
- execute @e[tag=ConductSurge] ~ ~ ~ summon armor_stand ~ ~-0.5 ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductN,score_ConductStands_min=1,score_ConductStands=2] ~ ~ ~-1 execute @e[dy=0,tag=ConductStand] ~ ~ ~1 scoreboard players tag @e[dy=0] remove ConductN
- execute @e[tag=ConductE,score_ConductStands_min=3,score_ConductStands=4] ~1 ~ ~ execute @e[dy=0,tag=ConductStand] ~-1 ~ ~ scoreboard players tag @e[dy=0] remove ConductE
- execute @e[tag=ConductS,score_ConductStands_min=5,score_ConductStands=6] ~ ~ ~1 execute @e[dy=0,tag=ConductStand] ~ ~ ~-1 scoreboard players tag @e[dy=0] remove ConductS
- execute @e[tag=ConductW,score_ConductStands_min=7,score_ConductStands=8] ~-1 ~ ~ execute @e[dy=0,tag=ConductStand] ~1 ~ ~ scoreboard players tag @e[dy=0] remove ConductW
- execute @e[tag=ConductU,score_ConductStands_min=9,score_ConductStands=10] ~ ~1 ~ execute @e[dy=0,tag=ConductStand] ~ ~-1 ~ scoreboard players tag @e[dy=0] remove ConductU
- execute @e[tag=ConductD,score_ConductStands_min=11,score_ConductStands=12] ~ ~-1 ~ execute @e[dy=0,tag=ConductStand] ~ ~1 ~ scoreboard players tag @e[dy=0] remove ConductD
- execute @e[tag=ConductN,score_ConductStands_min=2,score_ConductStands=2] ~ ~ ~-1 detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductE,score_ConductStands_min=4,score_ConductStands=4] ~1 ~ ~ detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductS,score_ConductStands_min=6,score_ConductStands=6] ~ ~ ~1 detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductW,score_ConductStands_min=8,score_ConductStands=8] ~-1 ~ ~ detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductU,score_ConductStands_min=10,score_ConductStands=10] ~ ~1 ~ detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- execute @e[tag=ConductD,score_ConductStands_min=12,score_ConductStands=12] ~ ~-1 ~ detect ~ ~ ~ water -1 summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Invulnerable:1,DisabledSlots:2039583,Tags:["ConductStand","ConductN","ConductE","ConductS","ConductW","ConductU","ConductD"]}
- scoreboard players add @e[tag=ConductStand] ConductStands 1
- execute @e[tag=ConductStand,score_ConductStands_min=5] ~ ~ ~ execute @a[r=1] ~ ~ ~ summon lightning_bolt ~ ~ ~
- entitydata @e[tag=ConductStand] {Motion:[0.0,0.0,0.0]}
- kill @e[score_ConductStands_min=12]
- replaceitem entity @a[score_PowerCharge_min=50,score_PowerCharge=50,tag=!PowerChargeH] slot.hotbar.4 dye 1 14 {display:{LocName:"Power Charge [Press Q]",Lore:["Use before another ability, then gain a burst of speed with that ability"]}}
- scoreboard players set @a[tag=PowerChargeH] PowerCharge 0
- scoreboard players tag @a[tag=PowerChargeH] remove PowerChargeH
- scoreboard players tag @a[tag=LightningBend] add PowerChargeH {Inventory:[{tag:{display:{LocName:"Power Charge [Press Q]",Lore:["Use before another ability, then gain a burst of speed with that ability"]}}}]}
- execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!PowerChargeH] PowerCharge 1
- execute @a[tag=PowerCharging] ~ ~ ~ title @s[tag=4Select,score_PowerChargeUp_min=0,score_PowerChargeUp=0] actionbar ["",{"text":"Power Charge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=4Select,score_PowerChargeUp_min=1,score_PowerChargeUp=1] actionbar ["",{"text":"Power Charge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588","color":"gold"},{"text":"\u2588\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=4Select,score_PowerChargeUp_min=2,score_PowerCharge=2] actionbar ["",{"text":"Power Charge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588","color":"gold"},{"text":"\u2588","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- title @a[tag=4Select,score_PowerCharge_min=3,score_PowerCharge=3] actionbar ["",{"text":"Power Charge ","bold":true,"italic":true,"color":"yellow"},{"text":"[","bold":true,"color":"white"},{"text":"\u2588\u2588\u2588","color":"gold"},{"text":"","color":"yellow"},{"text":"]","bold":true,"color":"white"}]
- /title @a[tag=4Select,score_PowerCharged_min=100] actionbar ["",{"text":"Power Charge","bold":true,"italic":true,"color":"yellow"},{"text":" ","italic":true,"color":"yellow"},{"text":"[","bold":true},{"text":"Recharging","bold":true,"color":"gold"},{"text":"]","bold":true}]
- kill @e[tag=PowerCharge]
- scoreboard players tag @e[type=item] add PowerCharge {Item:{id:"minecraft:dye",tag:{display:{LocName:"Power Charge [Press Q]",Lore:["Use before another ability, then gain a burst of speed with that ability"]}}}}
- execute @e[tag=PowerCharge] ~ ~ ~ scoreboard players tag @a[r=2,c=1,tag=LightningBend] add PowerCharging
- execute @a[tag=PowerCharging] ~ ~ ~ particle instantSpell ~ ~ ~ 0 0 0 0.1 1 force @a
- execute @a[tag=PowerCharging] ~ ~ ~ scoreboard players tag @s[tag=!LightningBend] remove PowerCharging
- scoreboard players add @a[tag=PowerCharging,score_CallLightning_min=1,score_CallLightning=1] PowerChargeUp 1
- scoreboard players add @a[tag=PowerCharging,score_ElectricImpact_min=1,score_ElectricImpact=1] PowerChargeUp 1
- scoreboard players add @a[tag=PowerCharging,score_ChainLightning_min=1,score_ChainLightning=1] PowerChargeUp 1
- scoreboard players add @a[tag=PowerCharging,score_ConductSurge_min=1,score_ConductSurge=1] PowerChargeUp 1
- scoreboard players tag @a[score_PowerCharged_min=100] remove PowerCharging
- execute @a[score_PowerCharged_min=1] ~ ~ ~ particle crit ~ ~ ~ 0 0 0 0.01 5 force @a
- effect @a[score_PowerCharged_min=100] speed 5 4 true
- execute @a[score_PowerCharged_min=1] ~ ~ ~ execute @e[rm=0,r=2] ~ ~ ~ effect @a[rm=0,r=2,c=1,score_PowerCharged_min=1] resistance 1 50 true
- scoreboard players remove @a[score_PowerCharged_min=1] PowerCharged 1
- execute @a[score_PowerCharged_min=99] ~ ~ ~ particle crit ~ ~ ~ 1 1 1 0.1 100 force @a
- scoreboard players set @a[score_PowerChargeUp_min=3] PowerCharged 100
- scoreboard players set @a[score_PowerChargeUp_min=3] PowerChargeUp 0
- execute @a[score_PowerCharged_min=1] ~ ~ ~ execute @e[rm=0,r=1] ~ ~ ~ summon lightning_bolt ~ ~ ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement