mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 15:04:42 +02:00
cleaned targetfind some
- added character allegiance types
This commit is contained in:
parent
59fab08230
commit
84d5eee1fc
6 changed files with 149 additions and 76 deletions
|
@ -62,6 +62,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
|||
public void SetPetMaster(Character master)
|
||||
{
|
||||
petMaster = master;
|
||||
|
||||
if (master is Player)
|
||||
owner.allegiance = CharacterTargetingAllegiance.Player;
|
||||
else
|
||||
owner.allegiance = CharacterTargetingAllegiance.BattleNpcs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue