mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[12632] Revert previous commit (see Notes)
This commit is contained in:
parent
1cd806c02e
commit
ef445ea523
1462 changed files with 9689 additions and 7080 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
|
||||
* This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -249,7 +249,7 @@ void Creature::RemoveCorpse()
|
|||
UpdateObjectVisibility();
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* change the entry of creature until respawn
|
||||
*/
|
||||
bool Creature::InitEntry(uint32 Entry, CreatureData const* data /*=NULL*/, GameEventCreatureData const* eventData /*=NULL*/)
|
||||
|
|
@ -985,7 +985,7 @@ void Creature::PrepareBodyLootState()
|
|||
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Return original player who tap creature, it can be different from player/group allowed to loot so not use it for loot code
|
||||
*/
|
||||
Player* Creature::GetOriginalLootRecipient() const
|
||||
|
|
@ -993,7 +993,7 @@ Player* Creature::GetOriginalLootRecipient() const
|
|||
return m_lootRecipientGuid ? ObjectAccessor::FindPlayer(m_lootRecipientGuid) : NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Return group if player tap creature as group member, independent is player after leave group or stil be group member
|
||||
*/
|
||||
Group* Creature::GetGroupLootRecipient() const
|
||||
|
|
@ -1002,7 +1002,7 @@ Group* Creature::GetGroupLootRecipient() const
|
|||
return m_lootGroupRecipientId ? sObjectMgr.GetGroupById(m_lootGroupRecipientId) : NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Return player who can loot tapped creature (member of group or single player)
|
||||
*
|
||||
* In case when original player tap creature as group member then group tap prefered.
|
||||
|
|
@ -1035,7 +1035,7 @@ Player* Creature::GetLootRecipient() const
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Set player and group (if player group member) who tap creature
|
||||
*/
|
||||
void Creature::SetLootRecipient(Unit* unit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue