aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/DataStores
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-03-07 12:24:25 +0100
committerShauren <shauren.trinity@gmail.com>2015-03-07 12:24:25 +0100
commitc927acf1f47e2cb80062042e172aeff17df862be (patch)
treedf8a844f29fe3988d517a80293cfaca8188a7c21 /src/server/game/DataStores
parent02ccf53ad1c4547e78345161765475825093cd91 (diff)
Core/Player: All spells and skills are now automatically learned without any need for external data
* Fixes learning mail/plate at level 40 for shamans/warriors/paladins * Fixes learning riding for worgen/paladins/warlocks at level 20
Diffstat (limited to 'src/server/game/DataStores')
-rw-r--r--src/server/game/DataStores/DBCStores.h1
-rw-r--r--src/server/game/DataStores/DBCStructure.h8
-rw-r--r--src/server/game/DataStores/DBCfmt.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/server/game/DataStores/DBCStores.h b/src/server/game/DataStores/DBCStores.h
index 6a8cd69e5d7..fcb7e0ccc68 100644
--- a/src/server/game/DataStores/DBCStores.h
+++ b/src/server/game/DataStores/DBCStores.h
@@ -231,6 +231,7 @@ extern DBCStorage <RandomPropertiesPointsEntry> sRandomPropertiesPointsStore;
extern DBCStorage <ScalingStatDistributionEntry> sScalingStatDistributionStore;
extern DBCStorage <SkillLineEntry> sSkillLineStore;
extern DBCStorage <SkillLineAbilityEntry> sSkillLineAbilityStore;
+extern DBCStorage <SkillRaceClassInfoEntry> sSkillRaceClassInfoStore;
extern DBCStorage <SkillTiersEntry> sSkillTiersStore;
extern SpellEffectScallingByEffectId sSpellEffectScallingByEffectId;
extern DBCStorage <SpellCastTimesEntry> sSpellCastTimesStore;
diff --git a/src/server/game/DataStores/DBCStructure.h b/src/server/game/DataStores/DBCStructure.h
index ce76b94035d..c26898abf21 100644
--- a/src/server/game/DataStores/DBCStructure.h
+++ b/src/server/game/DataStores/DBCStructure.h
@@ -1400,11 +1400,11 @@ struct SkillRaceClassInfoEntry
{
//uint32 ID; // 0
uint32 SkillID; // 1
- uint32 RaceMask; // 2
- uint32 ClassMask; // 3
+ int32 RaceMask; // 2
+ int32 ClassMask; // 3
uint32 Flags; // 4
- //uint32 Availability; // 5
- //uint32 MinLevel; // 6
+ uint32 Availability; // 5
+ uint32 MinLevel; // 6
uint32 SkillTierID; // 7
};
diff --git a/src/server/game/DataStores/DBCfmt.h b/src/server/game/DataStores/DBCfmt.h
index fa1e460e956..338a06cb3f8 100644
--- a/src/server/game/DataStores/DBCfmt.h
+++ b/src/server/game/DataStores/DBCfmt.h
@@ -129,7 +129,7 @@ char const RandomPropertiesPointsfmt[] = "niiiiiiiiiiiiiii";
char const ScalingStatDistributionfmt[] = "niii";
char const SkillLinefmt[] = "nisxixixx";
char const SkillLineAbilityfmt[] = "niiiiiiiiiiii";
-char const SkillRaceClassInfofmt[] = "diiiixxi";
+char const SkillRaceClassInfofmt[] = "diiiiiii";
char const SkillTiersfmt[] = "niiiiiiiiiiiiiiii";
char const SpecializationSpellsEntryfmt[] = "niiix";
char const SpellCastTimefmt[] = "nixx";