[8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code. Author: Necro

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-05 15:26:13 -05:00
parent d7df4cfa09
commit 62055d85a9
2 changed files with 58 additions and 4 deletions
+4 -4
View File
@@ -746,14 +746,14 @@ bool Player::Create( uint32 guidlow, const std::string& name, uint8 race, uint8
switch(iProto->Spells[0].SpellCategory)
{
case 11: // food
if(iProto->Stackable > 4)
count = 4;
count = getClass()==CLASS_DEATH_KNIGHT ? 10 : 4;
break;
case 59: // drink
if(iProto->Stackable > 2)
count = 2;
count = 2;
break;
}
if(iProto->Stackable < count)
count = iProto->Stackable;
}
StoreNewItemInBestSlots(item_id, count);