mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 08:08:25 +00:00
Clean up SoF+ swarm pet F8 hack
This commit is contained in:
@@ -600,9 +600,6 @@ void Mob::TemporaryPets(uint16 spell_id, Mob *targ, const char *name_override, u
|
||||
if(npc_dup != nullptr)
|
||||
npca->GiveNPCTypeData(npc_dup);
|
||||
|
||||
if (IsClient())
|
||||
npca->no_target_hotkey = 1;
|
||||
|
||||
entity_list.AddNPC(npca, true, true);
|
||||
summon_count--;
|
||||
}
|
||||
@@ -699,9 +696,6 @@ void Mob::TypesTemporaryPets(uint32 typesid, Mob *targ, const char *name_overrid
|
||||
if(npc_dup != nullptr)
|
||||
npca->GiveNPCTypeData(npc_dup);
|
||||
|
||||
if (IsClient())
|
||||
npca->no_target_hotkey = 1;
|
||||
|
||||
entity_list.AddNPC(npca, true, true);
|
||||
summon_count--;
|
||||
}
|
||||
@@ -889,9 +883,6 @@ void Mob::WakeTheDead(uint16 spell_id, Mob *target, uint32 duration)
|
||||
if(make_npc != nullptr)
|
||||
npca->GiveNPCTypeData(make_npc);
|
||||
|
||||
if (IsClient())
|
||||
npca->no_target_hotkey = 1;
|
||||
|
||||
entity_list.AddNPC(npca, true, true);
|
||||
|
||||
//the target of these swarm pets will take offense to being cast on...
|
||||
|
||||
Reference in New Issue
Block a user