diff --git a/src/Episode3/Card.cc b/src/Episode3/Card.cc index 61d9ebb8..48fe036b 100644 --- a/src/Episode3/Card.cc +++ b/src/Episode3/Card.cc @@ -990,7 +990,7 @@ void Card::compute_action_chain_results(bool apply_action_conditions, bool ignor break; case AssistEffect::INFLUENCE: if (!is_nte && this->card_type_is_sc_or_creature()) { - int16_t count = ps->count_set_refs(); + int16_t count = ps->count_hand_refs(); this->action_chain.chain.ap_effect_bonus += (count >> 1); } break; diff --git a/src/Episode3/PlayerState.cc b/src/Episode3/PlayerState.cc index f2275263..a5fc64d6 100644 --- a/src/Episode3/PlayerState.cc +++ b/src/Episode3/PlayerState.cc @@ -528,9 +528,9 @@ size_t PlayerState::count_set_cards() const { return ret; } -size_t PlayerState::count_set_refs() const { +size_t PlayerState::count_hand_refs() const { size_t ret = 0; - for (size_t set_index = 0; set_index < 8; set_index++) { + for (size_t set_index = 8; set_index < 16; set_index++) { if (this->card_refs[set_index] != 0xFFFF) { ret++; } diff --git a/src/Episode3/PlayerState.hh b/src/Episode3/PlayerState.hh index 24f07f32..c1989c73 100644 --- a/src/Episode3/PlayerState.hh +++ b/src/Episode3/PlayerState.hh @@ -56,7 +56,7 @@ public: void compute_total_set_cards_cost(); size_t count_set_cards_for_env_stats_nte() const; size_t count_set_cards() const; - size_t count_set_refs() const; + size_t count_hand_refs() const; void discard_all_assist_cards_from_hand(); void discard_all_attack_action_cards_from_hand(); void discard_all_item_and_creature_cards_from_hand();