SpecifiFaction
Closed
SpecifiFaction
Summary When you set any entity with specifi faction only as a target entity will always first chase player even though it has no target AI players.
Intended correct behavior This must make mob attack only mob with faction of Viking but nope it goes after players first ALWAYS ! AITargetSelectors:
- 0 clear
- 1 SpecificFaction Viking
Server log file
no errors but after it applies filter it goes after players [18:01:43 INFO]: [MythicMobs] +--- + Applying entity target filters [18:01:43 INFO]: [MythicMobs] |----- Returning 1 targets
Proposed fixes Fix is to take your time and goes through custom ai because right now its not broken its not usable at all . also AI went totally sideways after this half a year old build https://discord.com/channels/213109157983813633/523443579574681600/783279579048574985
Also this issue i have posted here quite few months already with no response at all i will consider a whole new review because this went too far plugin as this has no support nor bug fixes . https://git.mythiccraft.io/mythiccraft/MythicMobs/-/issues/356
added Invalid / Not a Bug label
Tested this to make sure, but in your case the mob is likely attacking you or other players that are helping you test because you have either OP or * permission.
In your example, players with the permission faction.viking will be considered in the faction and will be attacked, as noted on the manual for factions: https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Mobs/Factions
I tested this with OP on our test server and the mob did indeed attack me. Once I negated the permission, the mob stopped attacking me and only attacked other things with the correct faction.
marked #356 (closed) as a duplicate of this issue
marked this issue as related to #356 (closed)