Skip to content

Commit

Permalink
[9223] Implement possibility have 2 weapon by rogue at start.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Jan 20, 2010
1 parent 51f05f0 commit f312d43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/game/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9222"
#define REVISION_NR "9223"
#endif // __REVISION_NR_H__

0 comments on commit f312d43

Please sign in to comment.