Skip to content

Commit

Permalink
missing function assignment of new aura
Browse files Browse the repository at this point in the history
  • Loading branch information
hatersgit committed Dec 2, 2023
1 parent 2e73a29 commit 07c7b3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/server/game/Spells/Auras/SpellAuraEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ pAuraEffectHandler AuraEffectHandler[TOTAL_AURAS] =
&AuraEffect::HandleNoImmediateEffect, //341 SPELL_AURA_ADD_MASTERY_PCT_TO_SPELL_EFFECT implemented in AuraEffect::CalculateSpellMod()
&AuraEffect::HandleModRatingPercent, //342 SPELL_AURA_MOD_RATING_FROM_ALL_SOURCES_BY_PCT visual only, implemented in Player::UpdateRating()
&AuraEffect::HandleNoImmediateEffect, //343 SPELL_AURA_MOD_RECOVERY_RATE implemented in AuraEffect::PeriodicTick
&AuraEffect::HandleNoImmediateEffect, //341 SPELL_AURA_ADD_MASTERY_RATING_TO_SPELL_EFFECT implemented in AuraEffect::CalculateSpellMod()
&AuraEffect::HandleNoImmediateEffect, //344 SPELL_AURA_ADD_MASTERY_RATING_TO_SPELL_EFFECT implemented in AuraEffect::CalculateSpellMod()
&AuraEffect::HandleAuraModTriggerSpellPowerPercent, //345 SPELL_AURA_MOD_TRIGGER_SPELL_ON_POWER_PCT
};

AuraEffect::AuraEffect(Aura* base, uint8 effIndex, int32* baseAmount, Unit* caster):
Expand Down
4 changes: 2 additions & 2 deletions src/server/scripts/Spells/spells_script_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// This is where scripts' loading functions should be declared:
void AddSC_bard_spell_scripts();
void AddSC_deathknight_spell_scripts();
void AddSC_demonhunter_spell_scripts();
void AddSC_dh_spell_scripts();
void AddSC_druid_spell_scripts();
void AddSC_generic_spell_scripts();
void AddSC_hunter_spell_scripts();
Expand All @@ -40,7 +40,7 @@ void AddSpellsScripts()
{
//AddSC_bard_spell_scripts();
AddSC_deathknight_spell_scripts();
AddSC_demonhunter_spell_scripts();
AddSC_dh_spell_scripts();
AddSC_druid_spell_scripts();
AddSC_generic_spell_scripts();
AddSC_hunter_spell_scripts();
Expand Down

0 comments on commit 07c7b3a

Please sign in to comment.