Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1798

Closed
Open
Created Dec 23, 2024 by Robert@robzero

AiTargetSelector - SpecificFaction [Faction] does NOT work!

Summary If you create a MythicMob with this value:

AiTargetSelectors: 0 clear 1 specificfaction Humans

It will attack ALL players, no matter what faction they are or if they even have a faction at all. This is a known bug that's been around for over a year.

Steps to reproduce

AiTargetSelectors: 0 clear 1 specificfaction Humans

Just use these target selectors and you will get attacked by the mob. Try changing your faction too to see if that does anything.

Current behavior

All players get attacked by a mob who should only attack players in the Humans faction.

Intended correct behavior

Only players in the Humans Faction should get attacked.

Server log file

N/A absolutely nothing regarding this problem shows in log.

Debug log snippet

N/A

Proposed fixes

SpecificFactionMobs works perfectly, so the implementation should be very similar.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking