From 0e54019fd505eca4925c83a0f0e641ea818d0586 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 10 Dec 2014 02:18:57 -0500 Subject: [PATCH] Set the no_target_hotkey data as well --- zone/npc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/npc.cpp b/zone/npc.cpp index 0c49f0388..af8b9c544 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -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