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