aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-06-04 22:36:17 +0200
committerShauren <shauren.trinity@gmail.com>2019-06-08 17:09:20 +0200
commit82c7b6c5688495d90c4ee5995a4ff74039348296 (patch)
tree8bdab07881f637c849b895cd764fd28e601aa577 /src/server/scripts/World
parent455959c6064af6f7863a6b4b57cb0ef1646bd8ef (diff)
Core/Items: Drop item random property and suffix - all random stats must be given using bonus lists
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/item_scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp
index a0649c046d2..2a1ff2d6e14 100644
--- a/src/server/scripts/World/item_scripts.cpp
+++ b/src/server/scripts/World/item_scripts.cpp
@@ -163,7 +163,7 @@ public:
ItemPosCountVec dest;
uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 39883, 1); // Cracked Egg
if (msg == EQUIP_ERR_OK)
- player->StoreNewItem(dest, 39883, true, GenerateItemRandomPropertyId(39883));
+ player->StoreNewItem(dest, 39883, true, GenerateItemRandomBonusListId(39883));
return true;
}
@@ -183,7 +183,7 @@ public:
ItemPosCountVec dest;
uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 44718, 1); // Ripe Disgusting Jar
if (msg == EQUIP_ERR_OK)
- player->StoreNewItem(dest, 44718, true, GenerateItemRandomPropertyId(44718));
+ player->StoreNewItem(dest, 44718, true, GenerateItemRandomBonusListId(44718));
return true;
}