Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 4:57:42 PM (15 years ago)
Author:
benedict
Message:

high on cpout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc

    r6894 r6895  
    6565        this->initialHealth_ = 0;
    6666        this->shieldHealth_ = 0;
    67         this->shieldAbsorption_ = 0;
     67        this->shieldAbsorption_ = 0.5;
    6868
    6969        this->lastHitOriginator_ = 0;
     
    185185            {
    186186                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;
    189189                COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl;
    190190            }
Note: See TracChangeset for help on using the changeset viewer.