[Artifacts] Custom Bow Question

Discussion in 'Support' started by Mammon, Jul 13, 2019.

  1. Mammon

    Mammon New Member

    Joined:
    Apr 24, 2019
    Messages:
    2
    Likes Received:
    0
    Hey there, I am trying to make custom artifacts bows with their own different arrow skills to edit the velocity and damage the bow does.

    The problem I have is that the bow now shoots two arrows: The skillarrow and the normal vanilla arrow. I need some way to stop it from launching the vanilla arrow. One way to do this would be making the arrow into another item e.g. paper and launch the skill via OnUse. But I want to keep the pulling back system. So is it possible with mythicmobs, artifacts or some other plugin (Workaround) to stop bows from shooting a normal vanilla arrow?

    Thanks for any suggestions :)


    The Item:
    Code:
    g_bow_1:
      Id: 261
      Data: 0
      Display: '&rTestbow'
      Lore:
      - '&8Testlore'
      Skills:
      - skill{s=arrow1} ~onShoot
    The Skill:
    Code:
    arrow1:
      Cooldown: 4
      Skills:
      - shoot{type=Arrow;velocity=8;damage=5}
     
    #1
  2. Mammon

    Mammon New Member

    Joined:
    Apr 24, 2019
    Messages:
    2
    Likes Received:
    0
    I solved it with the cancelEvent tag, if anyone is interested.

    Code:
    arrow1:
      Skills:
      - CancelEvent
      - shoot{type=Arrow;velocity=8;damage=5}
     
    #2

Share This Page