mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
refactor(Core/Spell): Pascal Case some SpellEntry types (#4432)
This commit is contained in:
@@ -781,10 +781,10 @@ SpellInfo::SpellInfo(SpellEntry const* spellEntry)
|
||||
TargetAuraState = spellEntry->TargetAuraState;
|
||||
CasterAuraStateNot = spellEntry->CasterAuraStateNot;
|
||||
TargetAuraStateNot = spellEntry->TargetAuraStateNot;
|
||||
CasterAuraSpell = spellEntry->casterAuraSpell;
|
||||
TargetAuraSpell = spellEntry->targetAuraSpell;
|
||||
ExcludeCasterAuraSpell = spellEntry->excludeCasterAuraSpell;
|
||||
ExcludeTargetAuraSpell = spellEntry->excludeTargetAuraSpell;
|
||||
CasterAuraSpell = spellEntry->CasterAuraSpell;
|
||||
TargetAuraSpell = spellEntry->TargetAuraSpell;
|
||||
ExcludeCasterAuraSpell = spellEntry->ExcludeCasterAuraSpell;
|
||||
ExcludeTargetAuraSpell = spellEntry->ExcludeTargetAuraSpell;
|
||||
CastTimeEntry = spellEntry->CastingTimeIndex ? sSpellCastTimesStore.LookupEntry(spellEntry->CastingTimeIndex) : nullptr;
|
||||
RecoveryTime = spellEntry->RecoveryTime;
|
||||
CategoryRecoveryTime = spellEntry->CategoryRecoveryTime;
|
||||
@@ -793,22 +793,22 @@ SpellInfo::SpellInfo(SpellEntry const* spellEntry)
|
||||
InterruptFlags = spellEntry->InterruptFlags;
|
||||
AuraInterruptFlags = spellEntry->AuraInterruptFlags;
|
||||
ChannelInterruptFlags = spellEntry->ChannelInterruptFlags;
|
||||
ProcFlags = spellEntry->procFlags;
|
||||
ProcChance = spellEntry->procChance;
|
||||
ProcCharges = spellEntry->procCharges;
|
||||
MaxLevel = spellEntry->maxLevel;
|
||||
BaseLevel = spellEntry->baseLevel;
|
||||
SpellLevel = spellEntry->spellLevel;
|
||||
ProcFlags = spellEntry->ProcFlags;
|
||||
ProcChance = spellEntry->ProcChance;
|
||||
ProcCharges = spellEntry->ProcCharges;
|
||||
MaxLevel = spellEntry->MaxLevel;
|
||||
BaseLevel = spellEntry->BaseLevel;
|
||||
SpellLevel = spellEntry->SpellLevel;
|
||||
DurationEntry = spellEntry->DurationIndex ? sSpellDurationStore.LookupEntry(spellEntry->DurationIndex) : nullptr;
|
||||
PowerType = spellEntry->powerType;
|
||||
ManaCost = spellEntry->manaCost;
|
||||
ManaCostPerlevel = spellEntry->manaCostPerlevel;
|
||||
ManaPerSecond = spellEntry->manaPerSecond;
|
||||
ManaPerSecondPerLevel = spellEntry->manaPerSecondPerLevel;
|
||||
PowerType = spellEntry->PowerType;
|
||||
ManaCost = spellEntry->ManaCost;
|
||||
ManaCostPerlevel = spellEntry->ManaCostPerlevel;
|
||||
ManaPerSecond = spellEntry->ManaPerSecond;
|
||||
ManaPerSecondPerLevel = spellEntry->ManaPerSecondPerLevel;
|
||||
ManaCostPercentage = spellEntry->ManaCostPercentage;
|
||||
RuneCostID = spellEntry->runeCostID;
|
||||
RangeEntry = spellEntry->rangeIndex ? sSpellRangeStore.LookupEntry(spellEntry->rangeIndex) : nullptr;
|
||||
Speed = spellEntry->speed;
|
||||
RuneCostID = spellEntry->RuneCostID;
|
||||
RangeEntry = spellEntry->RangeIndex ? sSpellRangeStore.LookupEntry(spellEntry->RangeIndex) : nullptr;
|
||||
Speed = spellEntry->Speed;
|
||||
StackAmount = spellEntry->StackAmount;
|
||||
for (uint8 i = 0; i < 2; ++i)
|
||||
Totem[i] = spellEntry->Totem[i];
|
||||
@@ -824,7 +824,7 @@ SpellInfo::SpellInfo(SpellEntry const* spellEntry)
|
||||
for (uint8 i = 0; i < 2; ++i)
|
||||
SpellVisual[i] = spellEntry->SpellVisual[i];
|
||||
SpellIconID = spellEntry->SpellIconID;
|
||||
ActiveIconID = spellEntry->activeIconID;
|
||||
ActiveIconID = spellEntry->ActiveIconID;
|
||||
for (uint8 i = 0; i < 16; ++i)
|
||||
SpellName[i] = spellEntry->SpellName[i];
|
||||
for (uint8 i = 0; i < 16; ++i)
|
||||
|
||||
Reference in New Issue
Block a user