Changeset 6895 for code/branches/ppspickups3/src/orxonox
- Timestamp:
- May 10, 2010, 4:57:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
r6894 r6895 65 65 this->initialHealth_ = 0; 66 66 this->shieldHealth_ = 0; 67 this->shieldAbsorption_ = 0 ;67 this->shieldAbsorption_ = 0.5; 68 68 69 69 this->lastHitOriginator_ = 0; … … 185 185 { 186 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;187 COUT(1) << "damage " << damage << " shieldAbsorption " << this->shieldAbsorption_ << std::endl; 188 COUT(1) << "shielddamage " << shielddamage << " healthdamage " << healthdamage << std::endl; 189 189 COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl; 190 190 }
Note: See TracChangeset
for help on using the changeset viewer.