Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2012, 12:47:54 PM (13 years ago)
Author:
lkevin
Message:

Finished DamageBoost Pickup and the XML inclusions are working now.

File:
1 edited

Legend:

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

    r9155 r9184  
    231231    void Pawn::damage(float damage, float healthdamage, float shielddamage, Pawn* originator)
    232232    {
    233         // apply multiplier
     233        //Applies multiplier given by the DamageBoost Pickup.
    234234        Pawn *test = dynamic_cast<Pawn *>(originator);
    235235        if( test != NULL )
    236         { orxout() << "Test " << damage << endl;
     236        {
    237237          damage *= originator->getDamageMultiplier();
    238238        }
Note: See TracChangeset for help on using the changeset viewer.