Cooldown: 3.0
  Conditions:
  - health{h=<1} false
  - variableequals{var=caster.yunke;val="yunke"} false
  - variableequals{var=caster.yunke;val="yunke2"} false
  - targetnotwithin{d=2} true
  Skills:
  - randommessage{m="<caster.name><&co> &f¡No te alejes!","<caster.name><&co> &f¡No huyas cobarde!","<caster.name><&co> &f¡Ven para acá escoria!";} @PIR{r=20} 0.1
  - sound{s=block.anvil.place;p=0.5} @PIR{r=30}
  - sound{s=entity.villager.work_toolsmith} @PIR{r=20}
  - projectile{bulletType=MOB;mob=yunke_piglin;oE=reypiglinbloque-end;oT=reypiglinbloque-tick;oH=reypiglinbloque-hit;v=10;i=1;hR=1;vR=1;syo=1.5;sfo=.50;mr=20;bulletSpin=25} @PIR{r=30;limit=1;sort=FURTHEST}
reypiglinbloque-hit:
  Skills:
  - effect:particles{p=lava;a=10;hS=.35;vS=.35}
  - sound{s=block.anvil.place;p=0.5} @PIR{r=30}
  - damage{a=10}
  - ignite{d=100}
reypiglinbloque-tick:
  Skills:
  - effect:particles{p=smoke;a=2;hS=.20;vS=.20} @origin
reypiglinbloque-tick2:
  Skills:
  - effect:particles{p=smoke_large;a=1;hS=.10;vS=.10} @origin
reypiglinbloque-end:
  Skills:
  - effect:particles{p=block_crack;m=anvil;a=120;hS=.30;vS=.30}
  - sound{s=entity.generic.explode;p=1.5} @PIR{r=30}
  - effect:particles{p=lava;a=20;hS=.80;vS=.80}
  - damage{a=5} @EntitiesNearOrigin{r=2}