Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 6, 2012, 3:00:38 PM (12 years ago)
Author:
jo
Message:

Small improvements; adjusting values for better playfeeling. An irregular error occured concerning the SpaceBoundaries. Hopefully attaching the SpaceBoundary to the Transporter solves the problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/release2012/src/orxonox/gametypes/UnderAttack.cc

    r9370 r9372  
    207207            //Each defender prevents 500 damage. If human 2000 damage will be additionally be prevented.
    208208            //TODO: use gametime and the damage dealt so far in order to calculate the transporter's life more precisely
    209             float health = this->getTeamSize(attacker_)*3500.0f + this->getHumansInTeam(attacker_)*1500.0f - this->getTeamSize(defender_)*500.0f - this->getHumansInTeam(defender_)*2000.0f ;
     209            float health = this->getTeamSize(attacker_)*2000.0f + this->getHumansInTeam(attacker_)*3000.0f - this->getTeamSize(defender_)*500.0f - this->getHumansInTeam(defender_)*2000.0f ;
    210210            this->destroyer_->setHealth(std::max(health, 5000.0f)); //the destoyer should have at least 5000.0f life.
    211211        }
Note: See TracChangeset for help on using the changeset viewer.