I've been working on a boss fight, and I wanted an ability that deals dmg to ranged attackers. The distance condition seems to be perfect. Here's the ability:
KnifeThrow:
Cooldown: 10
Conditions:
- distance{d=>3}
Skills:
- shoot{t=arrow;damage=3;velocity=15} @trigger
- message{cooldown=20;m="<mob.name><&co> BLEED!"} @trigger
The condition itself doesn't work, I stand 1 block away from the mob, and he is still uses the ability.
Am I using the syntax correctly? Probably not,...
the distance{d=[value]} condition
KnifeThrow:
Cooldown: 10
Conditions:
- distance{d=>3}
Skills:
- shoot{t=arrow;damage=3;velocity=15} @trigger
- message{cooldown=20;m="<mob.name><&co> BLEED!"} @trigger
The condition itself doesn't work, I stand 1 block away from the mob, and he is still uses the ability.
Am I using the syntax correctly? Probably not,...
the distance{d=[value]} condition