mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
* 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:
@@ -552,7 +552,7 @@ int32 Item::GenerateItemRandomPropertyId(uint32 item_id)
|
||||
// RandomProperty case
|
||||
if(itemProto->RandomProperty)
|
||||
{
|
||||
uint32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty);
|
||||
int32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty);
|
||||
ItemRandomPropertiesEntry const *random_id = sItemRandomPropertiesStore.LookupEntry(randomPropId);
|
||||
if(!random_id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user