Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############
- # cool swords #
- ###############
- # THIS GOES IN ITEMS
- lensword:
- Id: diamond_sword
- Display: "&9Len &6Sword"
- Lore:
- - "&bLen<&sq>s personal sword!"
- Skills:
- - skill{s=greatSwing} ~onSwing @self
- - skill{s=changeMode} ~onUse @self
- Attributes:
- MainHand:
- AttackSpeed: 1
- Damage: 20
- Options:
- Unbreakable: true
- Model: 3
- Hide:
- - ATTRIBUTES
- - UNBREAKABLE
- soulBlade:
- Id: diamond_sword
- Display: "&dSoul &5Blade"
- Lore:
- - "&5A sword that gets stronger as you gather souls."
- - "&dRight-click to check soul count"
- - "&dShift-left-click to unleash souls gathered"
- - "&f- Requires 1+ souls"
- - "&dShift-right-click to buff yourself"
- - "&f- Requires 3+ souls"
- - "&5IMPORTANT: If soul count = null,"
- - "&5shift-left-click once."
- Skills:
- - skill{s=soulRelease} ~onSwing @self
- - skill{s=soulGather} ~onKill @self
- - skill{s=soulCheck} ~onUse @target
- Options:
- Unbreakable: true
- Model: 8
- Hide:
- - UNBREAKABLE
- # THIS GOES INTO SKILLS
- # len sword
- changeMode:
- Cooldown: 1
- Conditions:
- - hastag{tag=laserMode} castinstead changeMode2
- Skills:
- - addtag{tag=laserMode} @self
- - removetag{tag=swordMode} @self
- - effect:particlesphere{particle=reddust;color=#42BFF5;amount=200;radius=1} @origin
- - setmodel{model=3}
- - sound{s=block.anvil.place} @self
- - jsonmessage{m="[{"text":"MODE SHIFTED","color":"blue","italic":true}]"} @self
- changeMode2:
- Cooldown: 1
- Skills:
- - removetag{tag=laserMode} @self
- - addtag{tag=swordMode} @self
- - effect:particlesphere{particle=reddust;color=#42BFF5;amount=200;radius=1} @origin
- - setmodel{model=4}
- - sound{s=block.anvil.place} @self
- - jsonmessage{m="[{"text":"MODE SHIFTED","color":"blue","italic":true}]"} @self
- greatLeap:
- Skills:
- - jump{velocity=1}
- - sound{s=entity.firework_rocket.launch} @self
- - delay 5
- - skill{s=greatLeap1}
- greatLeap1:
- Conditions:
- - hastag{tag=ground} false
- Skills:
- - skill{s=greatLeap2}
- - delay 1
- - skill{s=greatLeap1}
- greatLeap2:
- Conditions:
- - hastag{tag=ground} false
- - onground
- Skills:
- - addtag{tag=ground} @self
- - effect:particlering{particle=blockcrack;radius=3;points=32;amount=32;hS=1;vS=1} @self
- - sound{s=entity.firework_rocket.blast} @self
- - damage{amount=20} @EIR{r=3}
- - heal{amount=3} @self
- - delay 5
- - removetag{tag=ground} @self
- greatSwing:
- Conditions:
- - hastag{tag=laserMode} castinstead chargeLaser
- - crouching castinstead greatLeap
- Skills:
- - effect:spin{duration=17;velocity=-20} @self
- - sound{s=entity.ender_dragon.flap} @self
- - delay 5
- - sound{s=entity.ender_dragon.flap} @self
- - delay 5
- - sound{s=entity.ender_dragon.flap} @self
- - delay 5
- - sound{s=entity.ender_dragon.flap} @self
- - effect:particlering{particle=cloud;radius=2;points=8;amount=32;hS=1;vS=0} @self
- - damage{amount=15} @EntitiesInRadius{r=3}
- shootLaser:
- Conditions:
- - crouching castinstead surroundLaser
- Skills:
- - setVariable{var=lenSwordLaser;scope=CASTER;value=0;type=INTEGER;save=true}
- - projectile{hitnonplayers=true;onTick=shootLaser-Tick;onHit=shootLaser-Hit;v=20;i=1;hR=1;vR=1} @targetlocation
- - sound{s=entity.ender_dragon.shoot} @self
- shootLaser-Tick:
- Skills:
- - effect:particles{p=reddust;color=#42BFF5;amount=15;speed=4;hS=0.2;vS=0.2} @origin
- shootLaser-Hit:
- Skills:
- - damage{amount=20}
- chargeLaser:
- Conditions:
- - variableEquals{var=caster.lenSwordLaser;value=1} castinstead shootLaser
- Skills:
- - setVariable{var=lenSwordLaser;scope=CASTER;value=1;type=INTEGER;save=true}
- - effect:particles{p=spell;amount=30;speed=6;hS=0.2;vS=0.5} @origin
- surroundLaser:
- Skills:
- - setVariable{var=lenSwordLaser;scope=CASTER;value=0;type=INTEGER;save=true}
- - projectile{hitnonplayers=true;onTick=surroundLaser-Tick;onHit=surroundLaser-Hit;v=20;i=1;hR=1;vR=1} @Ring{radius=2;points=8}
- - sound{s=entity.ender_dragon.shoot} @self
- surroundLaser-Tick:
- Skills:
- - effect:particles{p=reddust;color=#42BFF5;amount=15;speed=4;hS=0.2;vS=0.2} @origin
- surroundLaser-Hit:
- Skills:
- - damage{amount=10}
- # Soul blade
- soulRelease:
- Cooldown: 1
- Conditions:
- - crouching true
- - variableEquals{var=caster.souls;val=0;scope=CASTER} castinstead noSouls
- Skills:
- - effect:particlering{particle=dragon_breath;radius=2;points=8;amount=32;hS=1;vS=0} @self
- - damage{a=<caster.var.souls> * 4} @EIR{r=3}
- - setvariable{var=caster.souls;value=0;type=INTEGER;scope=CASTER;save=true} @self
- - message{m="You have unleashed your captured souls, and now have <caster.var.souls> souls."} @self
- noSouls:
- Skills:
- - message{m="You don't have enough souls to do this."} @self
- noSouls2:
- Conditions:
- - variableInRange{var=caster.souls;val=0to2}
- Skills:
- - message{m="You don't have enough souls to do this."} @self
- soulGather:
- Skills:
- - effect:particles{p=dragon_breath;amount=15;speed=0.1;hS=0.1;vS=0.1} @self
- - variableadd{var=caster.souls;amount=1;type=INTEGER} @self
- soulCheck:
- Cooldown: 1
- Conditions:
- - crouching castinstead soulBuffStart
- Skills:
- - message{m="You have <caster.var.souls> souls."} @self
- soulBuff:
- Conditions:
- - variableInRange{var=caster.souls;val=3to99999}
- Skills:
- - variablesubtract{var=caster.souls;amount=3;type=INTEGER} @self
- - potion{type=INCREASE_DAMAGE;duration=100;level=2} @self
- - message{m="You have unleashed your captured souls, and now have <caster.var.souls> souls."} @self
- soulBuffStart:
- Cooldown: 1
- Skills:
- - skill{s=noSouls2} @self
- - skill{s=soulBuff} @self
Add Comment
Please, Sign In to add comment