The mob faces the fan-shaped area with the midpoint line.
This part means: SectorAttack;the entites within 10 meters of the mob ,limit amount 10,and the only type affected is ’Mob‘ ;The Angle of the left and right sides of the sector is 15,radius is 2, damage is 10
Target chooser :
if you want independent target chooser with one skill, you can write a list in skill line:
Summon lightning to radius 10&midpoint is mob's circle,to 5 Player/Mob/Camp is NPC's mob 's positions
Use / To split target simplifier and creature type simplifier.
If you want this skill(Like effect,burn,damage) will just use on Player,You can add /Player after the target simplifier,Like line 1.
If you want use on Camp:Kingdom and SpawnPoint is Kingdom,add /Camp:Kingdom, Point:Kingdom
There's a new file in plugin folder named 'worldRandomSpawn.yml'
If you want to spawn mob randomly in a world,use this.
It means the level named world.Will spawn humanslayer mob.Every player's nearby will spawn.The max amount for every player's nearby is 10.The detect amount distance is 50(player is the centre).The spawn distance is 50(the number bigger,the distance of mob spawn may the far).If the mob of randomSpawn's nearby has no player(Distance is 60),it will kill it self and despawn.The spawn cooldown is 2s.The probability of this mob is 100.00(Here is 10000 = 100.00%,50.00% is 5000)