mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
Merge commit 'origin/master' into 310
This commit is contained in:
commit
9588b43d0c
17 changed files with 448 additions and 362 deletions
|
|
@ -988,6 +988,12 @@ bool Item::IsBindedNotWith( Player const* player ) const
|
|||
|
||||
bool ItemRequiredTarget::IsFitToRequirements( Unit* pUnitTarget ) const
|
||||
{
|
||||
if(pUnitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
return false;
|
||||
|
||||
if(pUnitTarget->GetEntry() != m_uiTargetEntry)
|
||||
return false;
|
||||
|
||||
switch(m_uiType)
|
||||
{
|
||||
case ITEM_TARGET_TYPE_CREATURE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue