From 6669f8b137b65e8603916534b010398c4f76b9f0 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Wed, 9 Aug 2023 14:15:13 +0000 Subject: [PATCH] fixed: ~ --- ex01/src/ScavTrap.cpp | 2 +- ex02/src/ScavTrap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ex01/src/ScavTrap.cpp b/ex01/src/ScavTrap.cpp index 15ba1c0..d0666b6 100644 --- a/ex01/src/ScavTrap.cpp +++ b/ex01/src/ScavTrap.cpp @@ -56,5 +56,5 @@ void ScavTrap::attack(const std::string& target) return; } this->_energy--; - std::cerr << "ScavTrap " << this->_name << " attacks " << target << ", causing " << this->_damage << " points of damage" << std::endl; + std::cerr << "ScavTrap " << this->_name << " attacks " << target << ", causing " << this->_damage << " points of damage!" << std::endl; } diff --git a/ex02/src/ScavTrap.cpp b/ex02/src/ScavTrap.cpp index 15ba1c0..d0666b6 100644 --- a/ex02/src/ScavTrap.cpp +++ b/ex02/src/ScavTrap.cpp @@ -56,5 +56,5 @@ void ScavTrap::attack(const std::string& target) return; } this->_energy--; - std::cerr << "ScavTrap " << this->_name << " attacks " << target << ", causing " << this->_damage << " points of damage" << std::endl; + std::cerr << "ScavTrap " << this->_name << " attacks " << target << ", causing " << this->_damage << " points of damage!" << std::endl; }