Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WSP_Landmine:
- Cooldown: 2
- Skills:
- - actionmessage{m="Cast Landmine"} @self
- - removeUsedItem{amount=1} @self ~onUse
- - sound{s="entity.blaze.shoot";p=1.2;v=4;sc=PLAYERS} @self
- - totem{
- charges=1;
- onStart=WSP_Landmine_Unarmed-Start;
- onTick=WSP_Landmine_Unarmed-Tick;
- onEnd=WSP_Landmine_Activate;
- hRadius=1;
- interval=1;
- YOffset=0;
- vRadius=2;
- Duration=40;
- HitNonPlayers=false;
- HitPlayers=false} @targetlocation
- WSP_Landmine_Unarmed-Start:
- Skills:
- - effect:sound{s=block.gravel.break;v=1;p=1} @origin
- - effect:particles{particle=block_crack;m=dirt;amount=25;hS=0.2;vS=0.2} @origin
- WSP_Landmine_Unarmed-Tick:
- Skills:
- - effect:particlering{particle=reddust;radius=0.15;points=20;amount=1;hS=0;vS=0;c=#111111;Size=0.2} @origin
- WSP_Landmine_Activate:
- Skills:
- - totem{
- charges=1;
- onStart=WSP_Landmine-Start;
- onTick=WSP_Landmine-Tick;
- onHit=WSP_Landmine-Hit;
- hRadius=1;
- interval=1;
- YOffset=0;
- vRadius=2;
- Duration=1200;
- HitNonPlayers=true;
- HitPlayers=true} @origin
- WSP_Landmine-Start:
- Skills:
- - effect:sound{s=block.stone_button.click_on;v=1;p=1} @origin
- - effect:particles{particle=reddust;amount=25;hS=0.2;vS=0.2;c=#110000;Size=0.8} @origin
- WSP_Landmine-Tick:
- Skills:
- - effect:particlering{particle=reddust;radius=0.15;points=20;amount=1;hS=0;vS=0;c=#550000;Size=0.2} @origin
- - effect:particlering{particle=reddust;radius=0.1;points=16;amount=1;hS=0;vS=0;c=#AA0000;Size=0.25} @origin
- - effect:particlering{particle=reddust;radius=0.05;points=12;amount=1;hS=0;vS=0;c=#FF0000;Size=0.3} @origin
- WSP_Landmine-Hit:
- Skills:
- - velocity{m=set;x=0;y=1;z=0} @EntitiesNearOrigin{r=3}
- - damage{a=16} @EntitiesNearOrigin{r=3}
- - potion{type=SLOW;duration=200;level=2} @EntitiesNearOrigin{r=3}
- - message{m="You are stunned by the blast!"} @EntitiesNearOrigin{r=3}
- - effect:particles{p=lava;a=50;vs=0.1;hs=0.1;speed=0.5} @origin
- - effect:particles{p=smoke_large;a=50;vs=0.1;hs=0.1;speed=0.2;size=0.3} @origin
- - effect:particles{p=explosion;a=50;vs=0.1;hs=1;speed=0.2} @origin
- - effect:sound{s=entity.firework_rocket.large_blast;v=6;p=0.8} @origin
- - effect:sound{s=entity.firework_rocket.blast;v=6;p=0.5} @origin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement