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

Simple trick to test if the skill have a target entity

$
0
0
Hello!

Simple trick how to test if a skill have an entity as target. In some cases like in @target ~onTimer the skill will trigger but have no target. Sometimes this cause an exception or just execute the skill where it shouldnt.

While i was about to make such a condition, i noticed this by mistake:

Code:
CondiMonkey:
  Type: zombie
  Skills:
  - skill{s=NoTargetTest} @target ~onTimer:5

NoTargetTest:
  TargetConditions:
  - fantasycondition
  Skills:
  -...
Simple trick to test if the skill have a target entity

Viewing all articles
Browse latest Browse all 11417

Trending Articles