[9223] Implement possibility have 2 weapon by rogue at start.

This commit is contained in:
VladimirMangos 2010-01-20 14:01:00 +03:00
parent 49a3040a56
commit 0a1ed5813a
2 changed files with 6 additions and 1 deletions

View file

@ -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);
}