File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13189,10 +13189,6 @@ void death_knight_t::init_spells()
1318913189
1319013190 // Handle Rune Regen Rate effects manually due to the unique nature of runes
1319113191 deregister_passive_effects( talent.frost.runic_command );
13192- // Handled elsewhere
13193- deregister_passive_effects( mastery.dreadblade );
13194- deregister_passive_effects( mastery.blood_shield );
13195- deregister_passive_effects( mastery.frozen_heart );
1319613192
1319713193 parse_all_class_passives();
1319813194 parse_all_passive_talents();
Original file line number Diff line number Diff line change 2424#include "dbc/dbc.hpp"
2525#include "dbc/item_database.hpp"
2626#include "dbc/item_set_bonus.hpp"
27+ #include "dbc/mastery_spells.hpp"
2728#include "dbc/rank_spells.hpp"
2829#include "dbc/specialization_spell.hpp"
2930#include "dbc/temporary_enchant.hpp"
@@ -16486,9 +16487,12 @@ void player_t::parse_all_class_passives()
1648616487{
1648716488 parse_passive_effects( find_spell( dbc::get_class_aura_id( type ) ) );
1648816489
16490+ auto mastery_id = mastery_spell_entry_t::find( specialization(), dbc->ptr ).spell_id;
16491+
1648916492 for ( const auto& spec_spell : specialization_spell_entry_t::data( dbc->ptr ) )
1649016493 {
16491- if ( spec_spell.specialization_id == static_cast<unsigned>( specialization() ) )
16494+ if ( spec_spell.specialization_id == static_cast<unsigned>( specialization() ) &&
16495+ spec_spell.spell_id != mastery_id )
1649216496 {
1649316497 auto spell = find_spell( spec_spell.spell_id );
1649416498 if ( spell->flags( SX_PASSIVE ) )
You can’t perform that action at this time.
0 commit comments