Loot if hunterpet killed a mob

i don’t if someone like or want this or not, but if your hunterpet kills a mob, you should get the loot.

[ATTACH]1534._xfImport[/ATTACH]

[CODE]
diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp
index 6a994d6…958fc65 100644
— a/src/server/game/Entities/Creature/Creature.cpp
+++ b/src/server/game/Entities/Creature/Creature.cpp
@@ -934,7 +934,7 @@ void Creature::SetLootRecipient(Unit* unit)
return;
}

  • if (unit->GetTypeId() != TYPEID_PLAYER && !unit->IsVehicle())
  • if (unit->GetTypeId() != TYPEID_PLAYER && !unit->IsVehicle() && !unit->IsHunterPet())
    return;

    Player* player = unit->GetCharmerOrOwnerPlayerOrPlayerItself();[/CODE]

Nope, you shouldn’t. This is the same behavior as on official server.

We’ve seen a lot of custom stuff get implemented into the core that can be enabled / disabled in config file. Maybe this can be included like that as well?

It was made this way so hunters could not set thier pet to agressive, go afk for a few and collect loot after.

Retail behaviour