Skip to content

Commit

Permalink
add identifier to enchantment
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardianDll authored Mar 5, 2024
1 parent c2b3ea3 commit c5cee9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mutation_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ TEST_CASE( "Scout_and_Topographagnosia_traits_affect_overmap_sight_range", "[mut
{
Character &dummy = get_player_character();
clear_avatar();
int &sight = enchantment_cache->get_value_add( enchant_vals::mod::OVERMAP_SIGHT );
sight *= enchantment_cache->get_value_multiply( enchant_vals::mod::OVERMAP_SIGHT );
int &sight = dummy.enchantment_cache->get_value_add( enchant_vals::mod::OVERMAP_SIGHT );
sight *= dummy.enchantment_cache->get_value_multiply( enchant_vals::mod::OVERMAP_SIGHT );
WHEN( "character has Scout trait" ) {
dummy.toggle_trait( trait_EAGLEEYED );
THEN( "they have increased overmap sight range" ) {
Expand Down

0 comments on commit c5cee9a

Please sign in to comment.