Skip to content

Commit

Permalink
Apply effects from bionic enchantments
Browse files Browse the repository at this point in the history
  • Loading branch information
Fris0uman committed Aug 21, 2020
1 parent f157670 commit 5ea2d46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bionics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,9 @@ void Character::process_bionic( int b )
// Aftershock
add_morale( MORALE_FEELING_GOOD, 20, 20, 30_minutes, 20_minutes, true );
}
for( const enchantment_id &ench : bio.id->enchantments ) {
ench->activate_passive( *this );
}
}

void Character::roll_critical_bionics_failure( const bodypart_id &bp )
Expand Down

0 comments on commit 5ea2d46

Please sign in to comment.