Core/Globals: fix some DBC loading from DB data and reorder columns (must be in relative DBC order or else you get garbage data)

This commit is contained in:
ariel-
2018-03-28 03:16:06 -03:00
parent 5ff847159c
commit f3f99cc317
2 changed files with 19 additions and 2 deletions

View File

@@ -146,11 +146,11 @@ const std::string CustomSpellDifficultyIndex = "id";
char const SpellDurationfmt[] = "niii";
// 0 10 20 26
char const SpellEffectEntryfmt[] = "nifiiiffiiiiiifiifiiiiiiiix";
const std::string CustomSpellEffectEntryfmt = "ppppppppppppppappppppppppp";
const std::string CustomSpellEffectEntryfmt = "ppppppppppppppapppppppppppa";
const std::string CustomSpellEffectEntryIndex = "Id";
// 0 10 20 30 40 47
char const SpellEntryfmt[] = "niiiiiiiiiiiiiiifiiiissxxiixxifiiiiiiixiiiiiiiii";
const std::string CustomSpellEntryfmt = "ppppppppppppppapaaaaaaaaapaaaaaapapppaapppaaapa";
const std::string CustomSpellEntryfmt = "ppppppppppppppapaaaaaaaaapaaaaaapapppaapppaaapaa";
const std::string CustomSpellEntryIndex = "Id";
char const SpellFocusObjectfmt[] = "nx";
char const SpellItemEnchantmentfmt[] = "nxiiiiiixxxiiisiiiiiiix";