DB/ItemRandomSuffix: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
20 iRefID_[[SpellItemEnchantment.dbc|enchantment]] Integer[5] | 20 iRefID_[[SpellItemEnchantment.dbc|enchantment]] Integer[5] | ||
25 allocationPct Integer[5] | 25 allocationPct Integer[5] | ||
== 3.3.5 Wotlk == | |||
{| class="wikitable" | |||
|+ [https://wowpedia.fandom.com/wiki/Item_suffix Item Suffixes] | |||
|- | |||
! Column !! Field Name !! Type !! Notes | |||
|- | |||
| 1 || ID || Integer || ID used is linked to ID in db world [https://www.azerothcore.org/wiki/item_enchantment_template item_enchantment_template] column 2 "ench" | |||
|- | |||
| 2-18 || Name_Lang || String + Loc || | |||
|- | |||
| 19 || Internal Name || Visible Name || Name visible in the game if this dbc is patched into mpq file | |||
|- | |||
| 20-25 || Enchantment 1 2 3 4 5 || Integer || Refers to Column 1 ID in [[DB/SpellItemEnchantment|SpellItemEnchantment.dbc]] | |||
|- | |||
| 26-30 ||Allocaction 1 2 3 4 5 || Integer || Value that determines how much scale based stats (from SpellItemEnchantment.dbc) will increased on items. Higher number means more of that stat. | |||
|} | |||
The Allocation value needs to be set in the matching column as the Enchantment value is used in. | |||
Example, if u have Enchantment Value in Column 20 "Enchantment 1" then matching Allocation value needs to be in Column 26 "Allocation 1" | |||
List of some Scale based Enchantment values (Column 20-25) from SpellItemEnchantment.dbc that requires a Allocation Value (Column 26-39) in order to work | |||
Agility 2802 | |||
Stamina 2803 | |||
intellect 2804 | |||
Strength 2805 | |||
spirit 2806 | |||
==6.0.1.18179== | ==6.0.1.18179== |
Latest revision as of 20:44, 6 October 2022
Structure
Column Field Type Notes 1 ID Integer 2-18 Name String + Loc 19 internalName String Monkey.. Owl.. etc.. (no 'of the') 20 iRefID_enchantment Integer[5] 25 allocationPct Integer[5]
3.3.5 Wotlk
Column | Field Name | Type | Notes |
---|---|---|---|
1 | ID | Integer | ID used is linked to ID in db world item_enchantment_template column 2 "ench" |
2-18 | Name_Lang | String + Loc | |
19 | Internal Name | Visible Name | Name visible in the game if this dbc is patched into mpq file |
20-25 | Enchantment 1 2 3 4 5 | Integer | Refers to Column 1 ID in SpellItemEnchantment.dbc |
26-30 | Allocaction 1 2 3 4 5 | Integer | Value that determines how much scale based stats (from SpellItemEnchantment.dbc) will increased on items. Higher number means more of that stat. |
The Allocation value needs to be set in the matching column as the Enchantment value is used in.
Example, if u have Enchantment Value in Column 20 "Enchantment 1" then matching Allocation value needs to be in Column 26 "Allocation 1"
List of some Scale based Enchantment values (Column 20-25) from SpellItemEnchantment.dbc that requires a Allocation Value (Column 26-39) in order to work
Agility 2802
Stamina 2803
intellect 2804
Strength 2805
spirit 2806
6.0.1.18179
struct ItemRandomSuffixRec { uint32_t m_ID; stringrefⁱ m_name_lang; stringrefⁱ m_internalName; uint32_t m_enchantment[5]; uint32_t m_allocationPct[5]; };