Advertisement
Guest User

getHasAuraStacks Error Skills

a guest
Apr 17th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. warriorrightattack2:
  2. Conditions:
  3. - hasaurastacks{n=warriorleftattack;s=>0} true
  4. - hasaurastacks{n=warriorrightattack;s=>0} true
  5. - varrange{var=skill.mana;v=>0.2} orElseCast warriorattacknomana
  6. Skills:
  7. - cmd{c=mmocore admin resource-mana take <caster.name> 0.2} @self
  8. - jump{velocity=-10} ?hasaurastacks{n=warriorskill;s=0} @self
  9. - leap{velocity=240} @targetlocation
  10. - projectile{
  11. interval=1; velocity=0; tyo=0; g=0; hnp=true; stopatentity=true; md=5;
  12. onHit=[
  13. ];
  14. onTick=[
  15. - skill{s=warriorattackdamage} @origin
  16. ];
  17. onEnd=[
  18. ];
  19. onStart=[
  20. - summon{type=WARRIORATTACK-ENTITY3;amount=1;radius=0;yRadius=0;onSurface=true;cd=0.2} @forward{f=4;y=0.3;so=-0.5}
  21. - effect:sound{s=entity.player.attack.sweep;p=2;v=0.4} @origin
  22. ];
  23. } @self
  24. - delay 3
  25. - projectile{
  26. interval=1; velocity=0; tyo=0; g=0; hnp=true; stopatentity=true; md=5;
  27. onHit=[
  28. ];
  29. onTick=[
  30. - skill{s=warriorattackdamage} @origin
  31. ];
  32. onEnd=[
  33. ];
  34. onStart=[
  35. - summon{type=WARRIORATTACK-ENTITY4;amount=1;radius=0;yRadius=0;onSurface=true;cd=0.2} @forward{f=4;y=-0.5;so=-0.5}
  36. - effect:sound{s=entity.player.attack.sweep;p=2;v=0.4} @origin
  37. ];
  38. } @self
  39. - sound{s=entity.player.attack.sweep;p=2;v=0.4} @self
  40. - auraremove{aura=warriorleftattack;s=1} @self
  41. - auraremove{aura=warriorrightattack;s=1} @self
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement