mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9223] Implement possibility have 2 weapon by rogue at start.
This commit is contained in:
parent
49a3040a56
commit
0a1ed5813a
2 changed files with 6 additions and 1 deletions
|
|
@ -724,6 +724,11 @@ bool Player::Create( uint32 guidlow, const std::string& name, uint8 race, uint8
|
||||||
if(iProto->Stackable < count)
|
if(iProto->Stackable < count)
|
||||||
count = iProto->Stackable;
|
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);
|
StoreNewItemInBestSlots(item_id, count);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9222"
|
#define REVISION_NR "9223"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue