[9785] Remove special dagger starting outfit amount.

Now DBC data provide special off-hand instead.
Also update structure comments.
This commit is contained in:
VladimirMangos 2010-04-23 22:31:59 +04:00
parent 10b65dcf8f
commit 7b675219e7
3 changed files with 7 additions and 12 deletions

View file

@ -601,12 +601,12 @@ struct CharStartOutfitEntry
{
//uint32 Id; // 0
uint32 RaceClassGender; // 1 (UNIT_FIELD_BYTES_0 & 0x00FFFFFF) comparable (0 byte = race, 1 byte = class, 2 byte = gender)
int32 ItemId[MAX_OUTFIT_ITEMS]; // 2-13
//int32 ItemDisplayId[MAX_OUTFIT_ITEMS]; // 14-25 not required at server side
//int32 ItemInventorySlot[MAX_OUTFIT_ITEMS]; // 26-37 not required at server side
//uint32 Unknown1; // 38, unique values (index-like with gaps ordered in other way as ids)
//uint32 Unknown2; // 39
//uint32 Unknown3; // 40
int32 ItemId[MAX_OUTFIT_ITEMS]; // 2-25
//int32 ItemDisplayId[MAX_OUTFIT_ITEMS]; // 26-29 not required at server side
//int32 ItemInventorySlot[MAX_OUTFIT_ITEMS]; // 50-73 not required at server side
//uint32 Unknown1; // 74, unique values (index-like with gaps ordered in other way as ids)
//uint32 Unknown2; // 75
//uint32 Unknown3; // 76
};
struct CharTitlesEntry

View file

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

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9784"
#define REVISION_NR "9785"
#endif // __REVISION_NR_H__