From 0a1ed5813aa0fb16633d7331e3c103f583178a83 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Wed, 20 Jan 2010 14:01:00 +0300 Subject: [PATCH] [9223] Implement possibility have 2 weapon by rogue at start. --- src/game/Player.cpp | 5 +++++ src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b76e628e4..d0665376d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f2c6cc43f..dd2719281 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9222" + #define REVISION_NR "9223" #endif // __REVISION_NR_H__