mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9785] Remove special dagger starting outfit amount.
Now DBC data provide special off-hand instead. Also update structure comments.
This commit is contained in:
parent
10b65dcf8f
commit
7b675219e7
3 changed files with 7 additions and 12 deletions
|
|
@ -720,11 +720,6 @@ bool Player::Create( uint32 guidlow, const std::string& name, uint8 race, uint8
|
|||
if(iProto->Stackable < count)
|
||||
count = iProto->Stackable;
|
||||
}
|
||||
// special amount for daggers
|
||||
else if(iProto->Class==ITEM_CLASS_WEAPON && iProto->SubClass==ITEM_SUBCLASS_WEAPON_DAGGER)
|
||||
{
|
||||
count = 2; // will placed to 2 slots
|
||||
}
|
||||
|
||||
StoreNewItemInBestSlots(item_id, count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue