Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2011, 2:26:25 PM (13 years ago)
Author:
simonmie
Message:

SimpleRocket and Rocket are now BasicProjectiles - damage is working now correctly with these two. More spam messages removed.

Location:
code/branches/gameimmersion/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion/src/orxonox/weaponsystem/WeaponMode.h

    r8386 r8533  
    104104            // Fire
    105105            inline void setDamage(float damage)
    106                 { this->damage_ = damage; COUT(3) << "DAMAGE-SET-FUNKTION (WeaponMode) WIRD AUFGERUFEN" << endl;}
     106                { this->damage_ = damage;}
    107107            inline float getDamage() const
    108108                { return this->damage_; }
     
    115115
    116116            inline void setShieldDamage(float shielddamage)
    117                 { this->shielddamage_ = shielddamage;} //ShieldDamage wird korrekt gesettet vom XML-File
     117                { this->shielddamage_ = shielddamage;}
    118118            inline float getShieldDamage() const
    119119                { return this->shielddamage_; }
  • code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.cc

    r8492 r8533  
    249249            }
    250250
    251             else { COUT(3) << "## SHIELD : " << this->getShieldHealth() << endl; }
     251 //           else { COUT(3) << "## SHIELD : " << this->getShieldHealth() << endl; }
    252252
    253253            this->setHealth(this->health_ - healthdamage);
     
    319319    void Pawn::hit(Pawn* originator, const Vector3& force, float damage, float healthdamage, float shielddamage)
    320320    {
    321         COUT(3) << "neue hit-Funktion wurde aufgerufen // " << std::flush;
     321//        COUT(3) << "neue hit-Funktion wurde aufgerufen // " << std::flush;
    322322        if (this->getGametype() && this->getGametype()->allowPawnHit(this, originator) && (!this->getController() || !this->getController()->getGodMode()) )
    323323        {
Note: See TracChangeset for help on using the changeset viewer.