* Add support for RewSpellCast=-1. If -1 remove all auras applied to player at

* quest start.
* Patch by Kudlaty -- THANK YOU!

--HG--
branch : trunk
This commit is contained in:
Brian
2009-12-21 14:48:30 -07:00
parent 6b9d05c315
commit 36d30faabf
18 changed files with 42 additions and 34 deletions

View File

@@ -158,7 +158,7 @@ void WorldSession::SendUpdateTrade()
data << (uint32) item->GetSpellCharges(); // charges
data << (uint32) item->GetItemSuffixFactor(); // SuffixFactor
// random properties id
data << (uint32) item->GetItemRandomPropertyId();
data << (int32) item->GetItemRandomPropertyId();
data << (uint32) item->GetProto()->LockID; // lock id
// max durability
data << (uint32) item->GetUInt32Value(ITEM_FIELD_MAXDURABILITY);