Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluttershy-git committed Oct 3, 2024
1 parent 8a52fe6 commit 9509730
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/class_modules/paladin/sc_paladin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ struct blessing_of_protection_t : public paladin_spell_t
// Most of this can be found in buffs::avenging_wrath_buff_t, this spell just triggers the buff

avenging_wrath_t::avenging_wrath_t( paladin_t* p, util::string_view options_str )
: paladin_spell_t( "avenging_wrath", p, p->talents.avenging_wrath )
: paladin_spell_t( "avenging_wrath", p, p->find_spell( 31884 ) )
{
parse_options( options_str );
if ( !p->talents.avenging_wrath->ok() )
Expand Down
3 changes: 2 additions & 1 deletion engine/class_modules/paladin/sc_paladin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,8 @@ struct paladin_action_t : public Base
this->affected_by.divine_purpose = this->data().affected_by( p->spells.divine_purpose_buff->effectN( 2 ) );
this->affected_by.seal_of_reprisal = this->data().affected_by( p->talents.seal_of_reprisal->effectN( 1 ) );
this->affected_by.blessing_of_dawn = this->data().affected_by( p->find_spell( 385127 )->effectN( 1 ) );
this->affected_by.sacred_strength = this->data().affected_by( p->talents.sacred_strength->effectN( 1 ) );
if ( p->is_ptr() )
this->affected_by.sacred_strength = this->data().affected_by( p->talents.sacred_strength->effectN( 1 ) );

if ( p->talents.penitence->ok() )
{
Expand Down
2 changes: 1 addition & 1 deletion engine/class_modules/paladin/sc_paladin_protection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ struct avengers_shield_base_t : public paladin_spell_t
td( s->target )->debuff.crusaders_resolve->trigger();
}

if ( p()->talents.refining_fire->ok() )
if ( p()->is_ptr() && p()->talents.refining_fire->ok() )
{
p()->active.refining_fire->target = s->target;
p()->active.refining_fire->execute();
Expand Down

0 comments on commit 9509730

Please sign in to comment.