Advertisement
SirStickyNote

Lightning Bending (Raw)

Aug 10th, 2017
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.37 KB | None | 0 0
  1. INIT:scoreboard objectives add CallLightning dummy
  2. INIT:scoreboard objectives add ElectricImpact dummy
  3. INIT:scoreboard objectives add ElectImpacting dummy
  4. INIT:scoreboard objectives add ChainLightning dummy
  5. INIT:scoreboard objectives add ChainLightningI dummy
  6. INIT:scoreboard objectives add ChainLightningez dummy
  7. INIT:scoreboard objectives add ConductSurge dummy
  8. INIT:scoreboard objectives add ConductStands dummy
  9. INIT:scoreboard objectives add PowerCharge dummy
  10. INIT:scoreboard objectives add PowerCharged dummy
  11. INIT:scoreboard objectives add PowerChargeUp dummy
  12. scoreboard players tag @e[type=item] add LeatherBoots {Item:{id:"minecraft:leather_boots",Count:1b}}
  13. scoreboard players tag @e[type=item] add BlazeRod {Item:{id:"minecraft:blaze_rod",Count:1b,Damage:0s}}
  14. execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ playsound minecraft:entity.lightning.thunder master @a[r=5] ~ ~ ~ 1 1 1
  15. execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ summon lightning_bolt ~ ~1 ~
  16. execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ setblock ~ ~ ~ air 0 replace fire
  17. 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}}}}
  18. execute @e[tag=BlazeRod] ~ ~ ~ execute @e[tag=LeatherBoots,r=1] ~ ~ ~ kill @e[type=item,r=1]
  19. scoreboard players tag @a[tag=LightningBend] remove LightningBend
  20. scoreboard players tag @a add LightningBend {Inventory:[{Slot:100b,id:"minecraft:leather_boots",tag:{display:{Lore:["Boots of a lightning bender"]}}}]}
  21. 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"]}}
  22. scoreboard players set @a[tag=CallLightningH] CallLightning 0
  23. scoreboard players tag @a[tag=CallLightningH] remove CallLightningH
  24. scoreboard players tag @a[tag=LightningBend] add CallLightningH {Inventory:[{tag:{display:{LocName:"Call Lightning [Press Q]",Lore:["Calls down a single bolt of lightning"]}}}]}
  25. execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!CallLightningH] CallLightning 1
  26. 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"}]
  27. 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"}]
  28. 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"}]
  29. 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"}]
  30. /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}]
  31. kill @e[tag=CallLightning]
  32. 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"]}}}}
  33. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-14,ry=14] ~ ~ ~ summon lightning_bolt ~ ~ ~8
  34. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=15,ry=44] ~ ~ ~ summon lightning_bolt ~-4 ~ ~7
  35. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=45,ry=74] ~ ~ ~ summon lightning_bolt ~-7 ~ ~4
  36. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=75,ry=104] ~ ~ ~ summon lightning_bolt ~-8 ~ ~
  37. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=105,ry=134] ~ ~ ~ summon lightning_bolt ~-7 ~ ~-4
  38. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=135,ry=164] ~ ~ ~ summon lightning_bolt ~-4 ~ ~-7
  39. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=165,ry=-165] ~ ~ ~ summon lightning_bolt ~ ~ ~-8
  40. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-164,ry=-135] ~ ~ ~ summon lightning_bolt ~4 ~ ~-7
  41. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-134,ry=-105] ~ ~ ~ summon lightning_bolt ~7 ~ ~-4
  42. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-104,ry=-75] ~ ~ ~ summon lightning_bolt ~8 ~ ~
  43. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-74,ry=-45] ~ ~ ~ summon lightning_bolt ~7 ~ ~4
  44. execute @e[tag=CallLightning] ~ ~ ~ execute @a[r=2,c=1,tag=LightningBend,rym=-44,ry=-15] ~ ~ ~ summon lightning_bolt ~4 ~ ~7
  45. 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"]}}
  46. scoreboard players set @a[tag=ElectricImpactH] ElectricImpact 0
  47. scoreboard players tag @a[tag=ElectricImpactH] remove ElectricImpactH
  48. scoreboard players tag @a[tag=LightningBend] add ElectricImpactH {Inventory:[{tag:{display:{LocName:"Electric Impact [Press Q]",Lore:["Conjures a salvo of lightning bolts"]}}}]}
  49. execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ElectricImpactH] ElectricImpact 1
  50. 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"}]
  51. 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"}]
  52. 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"}]
  53. 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"}]
  54. /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}]
  55. kill @e[tag=ElectricImpact]
  56. 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"]}}}}
  57. scoreboard players tag @a[tag=0Select] remove 0Select
  58. scoreboard players tag @a[tag=LightningBend] add 0Select {SelectedItemSlot:0}
  59. scoreboard players tag @a[tag=1Select] remove 1Select
  60. scoreboard players tag @a[tag=LightningBend] add 1Select {SelectedItemSlot:1}
  61. scoreboard players tag @a[tag=2Select] remove 2Select
  62. scoreboard players tag @a[tag=LightningBend] add 2Select {SelectedItemSlot:2}
  63. scoreboard players tag @a[tag=3Select] remove 3Select
  64. scoreboard players tag @a[tag=LightningBend] add 3Select {SelectedItemSlot:3}
  65. scoreboard players tag @a[tag=4Select] remove 4Select
  66. scoreboard players tag @a[tag=LightningBend] add 4Select {SelectedItemSlot:4}
  67. scoreboard players tag @a[tag=5Select] remove 5Select
  68. scoreboard players tag @a[tag=LightningBend] add 5Select {SelectedItemSlot:5}
  69. 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}
  70. 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}
  71. 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}
  72. 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}
  73. 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}
  74. 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}
  75. 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}
  76. 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}
  77. 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}
  78. 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}
  79. 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}
  80. 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}
  81. scoreboard players add @e[tag=ElectImpact] ElectImpacting 1
  82. kill @e[tag=ElectImpact,score_ElectImpacting_min=11]
  83. execute @e[tag=ElectImpact,score_ElectImpacting=1] ~ ~ ~ /particle smoke ~ ~ ~ 0.1 100 0.1 0.1 1000 force @a
  84. execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~1 ~ ~1
  85. execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~-1 ~ ~1
  86. execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ summon lightning_bolt ~-1 ~ ~-1
  87. execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~3 ~-5 ~-2 ~3 ~15 ~2 fire 0 replace air 0
  88. execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-3 ~-5 ~-2 ~-3 ~15 ~2 fire 0 replace air 0
  89. execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-2 ~-5 ~3 ~2 ~15 ~3 fire 0 replace air 0
  90. execute @e[tag=ElectImpact,score_ElectImpacting_min=9,score_ElectImpacting=9] ~ ~ ~ fill ~-2 ~-5 ~-3 ~2 ~15 ~-3 fire 0 replace air 0
  91. execute @e[tag=ElectImpact,score_ElectImpacting_min=10] ~ ~ ~ particle flame ~ ~ ~ 1 15 1 0.1 100 force @a
  92. execute @e[tag=ElectImpact] ~ ~ ~ detect ~ ~-1 ~ air 0 tp @s ~ ~-1 ~
  93. 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"]}}
  94. scoreboard players set @a[tag=ChainLightningH] ChainLightning 0
  95. scoreboard players tag @a[tag=ChainLightningH] remove ChainLightningH
  96. scoreboard players tag @a[tag=LightningBend] add ChainLightningH {Inventory:[{tag:{display:{LocName:"Chain Lightning [Press Q]",Lore:["Strings lightning strikes on nearby targets"]}}}]}
  97. execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ChainLightningH] ChainLightning 1
  98. 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"}]
  99. 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"}]
  100. 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"}]
  101. 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"}]
  102. /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}]
  103. kill @e[tag=ChainLightning]
  104. 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"]}}}}
  105. execute @e[tag=ChainLightning] ~ ~ ~ scoreboard players tag @p[r=3,c=1,tag=LightningBend] add ChainLightningez
  106. execute @e[tag=ChainLightning] ~ ~ ~ execute @e[r=10,rm=2,c=1,type=!item,tag=!ChainLightningez] ~ ~ ~ summon lightning_bolt ~ ~ ~
  107. scoreboard players tag @e[tag=ChainLightningez] remove ChainLightninged
  108. execute @e[tag=ChainLightning] ~ ~ ~ scoreboard players tag @e[r=10,rm=0,c=1,type=!item,tag=!ChainLightningez] add ChainLightninged
  109. scoreboard players tag @e[tag=ChainLightningez,score_ChainLightningez_min=40] remove ChainLightningez
  110. scoreboard players tag @e[tag=ChainLightninged] add ChainLightningez
  111. scoreboard players set @e[score_ChainLightningez_min=40] ChainLightningez 0
  112. scoreboard players add @e[tag=ChainLightningez] ChainLightningez 1
  113. execute @e[tag=ChainLightninged] ~ ~ ~ scoreboard players tag @e[r=10,rm=0,c=1,type=!item,tag=!ChainLightningez] add ChainLightninged
  114. execute @e[tag=ChainLightninged] ~ ~ ~ summon lightning_bolt ~ ~ ~
  115. 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"]}}
  116. scoreboard players set @a[tag=ConductSurgeH] ConductSurge 0
  117. scoreboard players tag @a[tag=ConductSurgeH] remove ConductSurgeH
  118. 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"]}}}]}
  119. execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!ConductSurgeH] ConductSurge 1
  120. 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"}]
  121. 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"}]
  122. 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"}]
  123. 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"}]
  124. /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}]
  125. kill @e[tag=ConductSurge]
  126. 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"]}}}}
  127. 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"]}
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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"]}
  135. 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"]}
  136. 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"]}
  137. 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"]}
  138. 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"]}
  139. 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"]}
  140. scoreboard players add @e[tag=ConductStand] ConductStands 1
  141. execute @e[tag=ConductStand,score_ConductStands_min=5] ~ ~ ~ execute @a[r=1] ~ ~ ~ summon lightning_bolt ~ ~ ~
  142. entitydata @e[tag=ConductStand] {Motion:[0.0,0.0,0.0]}
  143. kill @e[score_ConductStands_min=12]
  144. 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"]}}
  145. scoreboard players set @a[tag=PowerChargeH] PowerCharge 0
  146. scoreboard players tag @a[tag=PowerChargeH] remove PowerChargeH
  147. 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"]}}}]}
  148. execute @a[tag=LightningBend] ~ ~ ~ scoreboard players add @s[tag=!PowerChargeH] PowerCharge 1
  149. 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"}]
  150. 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"}]
  151. 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"}]
  152. 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"}]
  153. /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}]
  154. kill @e[tag=PowerCharge]
  155. 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"]}}}}
  156. execute @e[tag=PowerCharge] ~ ~ ~ scoreboard players tag @a[r=2,c=1,tag=LightningBend] add PowerCharging
  157. execute @a[tag=PowerCharging] ~ ~ ~ particle instantSpell ~ ~ ~ 0 0 0 0.1 1 force @a
  158. execute @a[tag=PowerCharging] ~ ~ ~ scoreboard players tag @s[tag=!LightningBend] remove PowerCharging
  159. scoreboard players add @a[tag=PowerCharging,score_CallLightning_min=1,score_CallLightning=1] PowerChargeUp 1
  160. scoreboard players add @a[tag=PowerCharging,score_ElectricImpact_min=1,score_ElectricImpact=1] PowerChargeUp 1
  161. scoreboard players add @a[tag=PowerCharging,score_ChainLightning_min=1,score_ChainLightning=1] PowerChargeUp 1
  162. scoreboard players add @a[tag=PowerCharging,score_ConductSurge_min=1,score_ConductSurge=1] PowerChargeUp 1
  163. scoreboard players tag @a[score_PowerCharged_min=100] remove PowerCharging
  164. execute @a[score_PowerCharged_min=1] ~ ~ ~ particle crit ~ ~ ~ 0 0 0 0.01 5 force @a
  165. effect @a[score_PowerCharged_min=100] speed 5 4 true
  166. 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
  167. scoreboard players remove @a[score_PowerCharged_min=1] PowerCharged 1
  168. execute @a[score_PowerCharged_min=99] ~ ~ ~ particle crit ~ ~ ~ 1 1 1 0.1 100 force @a
  169. scoreboard players set @a[score_PowerChargeUp_min=3] PowerCharged 100
  170. scoreboard players set @a[score_PowerChargeUp_min=3] PowerChargeUp 0
  171. 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