mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 10:42:25 +00:00
Set the no_target_hotkey data as well
This commit is contained in:
parent
d9a1bcb3fd
commit
0e54019fd5
@ -1863,11 +1863,13 @@ void NPC::PetOnSpawn(NewSpawn_Struct* ns)
|
||||
SetAllowBeneficial(1);//Allow temp pets to receive buffs and heals if owner is client.
|
||||
//This will allow CLIENT swarm pets NOT to be targeted with F8.
|
||||
ns->spawn.targetable_with_hotkey = 0;
|
||||
no_target_hotkey = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
//NPC cast swarm pets should still be targetable with F8.
|
||||
ns->spawn.targetable_with_hotkey = 1;
|
||||
no_target_hotkey = 0;
|
||||
}
|
||||
|
||||
SetTempPet(true); //Simple mob flag for checking if temp pet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user