Hey so my idea for this hunter skill is, Once you activate the skill (this parts all done) if you kill a hostile mob/monster. It will strike a maximum of 3 hostile mobs within 20 blocks with lightning and kill them too.
on player flagged:skill.huntershostilitytime damages !player:
- define loc <context.location>
- foreach <[loc].find.living_entities[is_monster].within[10]> as:entity:
- kill <[entity]>
This is what I have so far. But it seems to be killing me lol!
