Cooldown: 2
  Skills:
  - runaigoalselector{goal=clear}
  - delay 1
  - runaigoalselector{goal=lookatplayers}
  - effect:sound{s=custom.shotgun_pump;v=1;p=0.8} @self
  - delay 15
  - effect:sound{s=custom.shotgun_shoot;v=0.9;p=0.8;sc=hostile} @self
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=0;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=5;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=-5;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=0;vO=0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=5;vO=0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=-5;vO=0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=0;vO=-0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=5;vO=-0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - projectile{onTick=Shotgun_TICK;onHit=Shotgun_HIT;v=30;i=1;hR=1;vR=1;hnp=true;hO=-5;vO=-0.1;syo=2;g=0.2;onEnd=Shotgun_SPARK}
  - runaigoalselector{goal=clear}
  - delay 10
  - runaigoalselector{goal=movetowardstarget}
  Conditions:
  - targetwithin{d=50} true