Bug Closed · Resolved

onShoot Aura not working

#2022 opened by Unknown 5 years ago

Unknownreported this bug

Summary

The onShoot aura does not work, it simply does not do anything when used.

Steps to reproduce

You can use this file to test the aura: https://pastebin.com/W6sJUFbM /mm test cast HuntersMark

Current behavior

The aura does not do anything when I use onShoot, it works fine if I use onAttack but that does not work for bows.

Intended correct behavior

It should trigger the aura when activated.

Debug log snippet

https://pastebin.com/kghLXFm8

Unknowncommented
TestAuraOnShoot:
  Id: BOW
  Display: Test OnShoot
  Model: 101
  Skills:
  - onShoot{
        duration=200;charges=2;ce=true;
        onTick=[
          - particles{p=cloud;a=5;hS=1;vS=0.2}
        ];
        onShoot=[
          - projectile{i=1;g=0;v=16;hr=0.1;hnp=true; 
              onStart=[ 
                - sound{s=entity.arrow.shoot;p=0.9;cooldown=0.5} 
              ]; 
              onTick=[ 
                - particles{p=flame;s=0}
              ]; 
              onHit=[ 
                - sound{s=entity.cat.purreow;p=0.9;v=2} 
              ]; 
              onEnd=[ 
                - particles{p=endRod;s=0}
              ]} @targetlocation
        ]} @self ~onSwing
Sign in to join the discussion.