mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[9223] Implement possibility have 2 weapon by rogue at start.
This commit is contained in:
parent
49a3040a56
commit
0a1ed5813a
2 changed files with 6 additions and 1 deletions
|
|
@ -724,6 +724,11 @@ 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