Quantcast
Channel: MythicCraft
Viewing all articles
Browse latest Browse all 11417

Run skill when 1 player in radius

$
0
0
Hi, I want to run this skill (at least one uhh):
Code:
- lightning{damage=0} @Self
when at least one player is around mob in certain radius

What I tried?
Skills File:
Code:
BlindnessMagicPotion:
  Conditions:
  - distance{d=<10}
  Skills:
  - lightning{damage=0} @Self
Skills section in Mobs file:
Code:
Skills:
- skill{s=BlindnessMagicPotion} @Self
But nothin happening, and when I remove conditions, it works.

As condition, I also tried "playerwithin 10", but If...

Run skill when 1 player in radius

Viewing all articles
Browse latest Browse all 11417

Trending Articles