(solved) [arteafcts] my artefact configuration doesn't work...

Discussion in 'Support' started by rexprire, Aug 3, 2018.

  1. rexprire

    rexprire New Member

    Joined:
    Jul 8, 2018
    Messages:
    12
    Likes Received:
    0
    hey, guys, i just woba get answer to my question- why my artefact doesn't work? so, this problem accorded on projectile skill, when my "gun" executing it, the zombie doesnt didn't got the DMG. i tryed to change the targeter, but it did'nt helped me.

    This config for items:
    Code:
    Rifle:
      Id: 294
      Data: 34
      Display: '&aGun'
      Skills:
      - skill{s=RiflShot} @TargetLocation ~onUse
    this config for skills:
    Code:
    RiflShot:
      Cooldown:
      Skills:
      - projectile{onTick=Lich-Tick;onHit=Lich-Hit;onEnd=Rifl-End;v=20;i=2;hR=2;vR=2}
    Rifl-Tick:
      Skills:
      - effect:particles{p=reddust;c=#4d4d4d;a=1;hS=0.1;vS=0.1;s=1} @origin
      - effect:particles{p=reddust;c=#2f2c2c;a=1;hS=0.1;vS=0.1;s=1} @origin 
    Rifl-Hit:
      Skills:
      - effect:particles{p=reddust;c=#4f4f4f;a=3;hS=0.5;vS=0.5;s=1} @target   
    Rifl-End:
      skills:
      - damage{a=4} @target   

    guys, plz, help me. Imaking the server, that should be finished on 15th augost. i realy need the FAST ANSWER

    p.s. sorry for my english :3
     
    #1
  2. Buguser

    Buguser Active Member
    Supporter

    Joined:
    Oct 11, 2016
    Messages:
    127
    Likes Received:
    46
    The onTick and onHit attributes are wrong.

    Fixed code:
    Code:
    RiflShot:
      Cooldown:
      Skills:
      - projectile{onTick=Rifl-Tick;onHit=Rifl-Hit;onEnd=Rifl-End;v=20;i=2;hR=2;vR=2}
    Rifl-Tick:
      Skills:
      - effect:particles{p=reddust;c=#4d4d4d;a=1;hS=0.1;vS=0.1;s=1} @origin
      - effect:particles{p=reddust;c=#2f2c2c;a=1;hS=0.1;vS=0.1;s=1} @origin
    Rifl-Hit:
      Skills:
      - effect:particles{p=reddust;c=#4f4f4f;a=3;hS=0.5;vS=0.5;s=1} @target   
    Rifl-End:
      skills:
      - damage{a=4} @target   
     
    #2
  3. fontanson

    fontanson New Member

    Joined:
    Mar 30, 2017
    Messages:
    17
    Likes Received:
    0
    tnx, but it steel do not deals damage... i using the newest mm and ma, idk whats wrong with it
     
    #3
  4. Buguser

    Buguser Active Member
    Supporter

    Joined:
    Oct 11, 2016
    Messages:
    127
    Likes Received:
    46
    Put the damage skill into the Rifl-Hit skill.

    "Special effects for the projectile's end also use @origin. Also, If you want entities near the end-point of the projectile to be hit in a certain way (such as a final large fireball explosion) you can use the @PlayersNearOrigin{r=[radius]} targeter."
     
    #4
    Last edited: Aug 6, 2018
  5. rexprire

    rexprire New Member

    Joined:
    Jul 8, 2018
    Messages:
    12
    Likes Received:
    0
    i alredy found the problem- there is syntax mistake. i wrote "skills", not "Skills". i closing question
     
    #5

Share This Page