From 8460c40c6ffdff66e34d417d066ce16b0aaba0ef Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 8 Mar 2015 13:16:30 +0100 Subject: [PATCH] Core/DataStores: Corrected field names in SpellPowerEntry --- src/server/game/DataStores/DBCStructure.h | 6 +++--- src/server/game/DataStores/DBCfmt.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/game/DataStores/DBCStructure.h b/src/server/game/DataStores/DBCStructure.h index 001392aee4c..375c0f5de5a 100644 --- a/src/server/game/DataStores/DBCStructure.h +++ b/src/server/game/DataStores/DBCStructure.h @@ -2005,9 +2005,9 @@ struct SpellPowerEntry uint32 manaCostPerlevel; // 2 m_manaCostPerLevel uint32 ManaCostPercentage; // 3 m_manaCostPct uint32 manaPerSecond; // 4 m_manaPerSecond - uint32 manaPerSecondPerLevel; // 5 m_manaPerSecondPerLevel - //uint32 PowerDisplayId; // 6 m_powerDisplayID - id from PowerDisplay.dbc, new in 3.1 - float ManaCostPercentageFloat; // 7 4.3.0 + //uint32 PowerDisplayId; // 5 m_powerDisplayID - id from PowerDisplay.dbc, new in 3.1 + //uint32 UnitPowerBarId; // 6 m_unitPowerBarID + //float ManaCostPercentageFloat; // 7 4.3.0 }; struct SpellRuneCostEntry diff --git a/src/server/game/DataStores/DBCfmt.h b/src/server/game/DataStores/DBCfmt.h index 3c2344c1d47..6739862d3cf 100644 --- a/src/server/game/DataStores/DBCfmt.h +++ b/src/server/game/DataStores/DBCfmt.h @@ -149,7 +149,7 @@ char const SpellReagentsEntryfmt[] = "diiiiiiiiiiiiiiii"; char const SpellScalingEntryfmt[] = "diiiiffffffffffi"; char const SpellTotemsEntryfmt[] = "niiii"; char const SpellTargetRestrictionsEntryfmt[] = "nxiiii"; -char const SpellPowerEntryfmt[] = "diiiiixf"; +char const SpellPowerEntryfmt[] = "diiiixxx"; char const SpellInterruptsEntryfmt[] = "dixixi"; char const SpellEquippedItemsEntryfmt[] = "diii"; char const SpellAuraOptionsEntryfmt[] = "niiii";