From 6f2104ad97ff40a8addcff11158c9ea71d352872 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Wed, 30 Oct 2024 14:40:18 +0100 Subject: [PATCH 1/2] Dagger is now correct --- src/generic_object.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/generic_object.cpp b/src/generic_object.cpp index c83cccb..a09f2c9 100644 --- a/src/generic_object.cpp +++ b/src/generic_object.cpp @@ -141,7 +141,11 @@ namespace character { return 0; } case tools::Dagger: - return 0; + if (inType == characType::Habilete) { + return 1; + } else { + return 0; + } case tools::RockClimbingKit: return inType == characType::Adresse ? 1 : 0; case tools::SackOfGrain: From f7862f09f9375eecb940f3e814564be91ea23a97 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Wed, 30 Oct 2024 14:40:57 +0100 Subject: [PATCH 2/2] Remove useless header comment --- Unit testing/billy_objects_tests.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Unit testing/billy_objects_tests.cpp b/Unit testing/billy_objects_tests.cpp index 77e24df..b133b12 100644 --- a/Unit testing/billy_objects_tests.cpp +++ b/Unit testing/billy_objects_tests.cpp @@ -1,6 +1,3 @@ -// -// Created by postaron on 29/02/24. -// #include #include #include