Changeset 6892
- Timestamp:
- May 10, 2010, 4:41:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
r6884 r6892 174 174 if (shielddamage > this->getShieldHealth()) 175 175 { 176 COUT(1) << "the shield is too weak to take its share of the damage!" << std::endl; 176 177 healthdamage += shielddamage-this->getShieldHealth(); 177 178 this->setShieldHealth(0); … … 183 184 { 184 185 this->setShieldHealth(this->shieldHealth_ - shielddamage); 186 COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl; 185 187 } 186 188
Note: See TracChangeset
for help on using the changeset viewer.