Caps matter.
Up to my knowledge tho, this is already set in newest TC. All one has to do is change the datatype in the DB.
------ SOLVED -------
Hello everyone. I want to know what I need to do to change the stats to be above 32k. I did search it up, and this came up : http://www.ac-web.org/forums/showthr...or-TrinityCore
Although I have seen it and it has always been working... apparently in this version of the TDB, There is no Such thing as "Itemtemplate.itemstat" Within the ObjectMgr.cpp
So my question is, Where is it in the newer versions?
My current one is 335.20061
EDIT : NVM found it. somehow it didnt show up when i searched for "Itemtemplate.itemstat" but if i searched "for (uint8 i = 0; i < itemTemplate.StatsCount; ++i)" then i found it.
Last edited by chyssler; 04-07-2021 at 06:06 PM.
Caps matter.
Up to my knowledge tho, this is already set in newest TC. All one has to do is change the datatype in the DB.
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 04f3395..322858f 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -2273,7 +2273,7 @@ void ObjectMgr::LoadItemTemplates()
for (uint8 i = 0; i < itemTemplate.StatsCount; ++i)
{
itemTemplate.ItemStat[i].ItemStatType = uint32(fields[28 + i*2].GetUInt8());
- itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt16());--You will take this
+ itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt32());--and put this in place
insert em world
ALTER TABLE `item_template` CHANGE `stat_value1` `stat_value1` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value2` `stat_value2` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value3` `stat_value3` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value4` `stat_value4` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value5` `stat_value5` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value6` `stat_value6` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value7` `stat_value7` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value8` `stat_value8` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value9` `stat_value9` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value10` `stat_value10` INT(10) DEFAULT 0 NOT NULL;
it's not default on Standard TrinityCore atleast.
https://github.com/TrinityCore/Trini...pp#L2921-L2925
I stand corrected.![]()