Custom Projectile - Damage problem

Discussion in 'Support' started by Dropix, Oct 10, 2017.

  1. Dropix

    Dropix New Member

    Joined:
    Sep 10, 2017
    Messages:
    10
    Likes Received:
    1
    Hey guys,

    I dont know, if thats a bug or I just missed something. But I tried to add damage on my custom Projectile, just like this:

    Code:
    BombS-Hit:
      Skills:
      - damage{a=20} @target
    But I dont get it really works. On "normal" Minecraft Armor, the damage works fine. But I have an specific Armor on my server, that use Resistance III effect and with this, it seems that I dont get any damage at all from this projectile. Here the full ability:

    Code:
    BombS:
      Skills:
      - projectile{onTick=BombS-Tick;onHit=BombS-Hit;onEnd=BombS-End;v=20;hR=2;vR=2}
    BombS-Tick:
      Skills:
      - effect:particles{p=magicCrit;amount=100;speed=0.5} @origin
    BombS-Hit:
      Skills:
      - damage{a=20} @target
    BombS-End:
      Skills:
      - explosion{yield=4} @Origin
    This projectile gets shoots by this skeleton:

    Code:
    SKELETON:
      Health: 150
      Damage: 15
      Modules:
        ThreatTable: true
      AIGoalSelectors:
      - 0 clear
      - 1 arrowattack
      - 2 lookatplayers
      - 3 randomstroll
      - 4 movetowardstarget
      AITargetSelectors:
      - 0 clear
      - 1 attacker
      DamageModifiers:
      - PROJECTILE 0.15
      - ENTITY_EXPLOSION 0
      - THORNS 0
      Skills:
      - skill{s=BombS} @target ~onTick:50
      Options:
        PreventOtherDrops: true
        PreventRandomEquipment: true

    But the strange thing is, that I use mostly the same ability for a blaze, but the damage from the blaze works fine, even with my "special" Armor. This skeleton dont do any damage with the ability on my armor, just on the normal "vanilla armor", like I said before.

    I dont get the "onEnd" Tag working. Maybe somebody knows the mistake there? Otherwise, the ability works great.

    I hope for help

    yours sincerely, Dropix


    Server Version: 1.11.2 Spigot
    MythicMobs Version: 4.2.0
     
    #1
  2. Dropix

    Dropix New Member

    Joined:
    Sep 10, 2017
    Messages:
    10
    Likes Received:
    1
    I found the reason now, no answer required ^^
     
    #2

Share This Page