mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 00:02:17 +00:00
Improvements to the pet type (5) code.
This commit is contained in:
1 parent
356316db84
commit
33767aeb91
5 files changed
+15
-6
No files matched your search
@@ -434,6 +434,7 @@ void Mob::MakePoweredPet(uint16 spell_id, const char* pettype, int16 petpower,
|
||||
|
||||
if (target){
|
||||
npc->AddToHateList(target, 1);
|
||||
npc->SetPetTargetLockID(target->GetID());
|
||||
npc->SetSpecialAbility(IMMUNE_AGGRO, 1);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user