Changeset 10021 in orxonox.OLD for branches/playability/src/world_entities/space_ships
- Timestamp:
- Dec 6, 2006, 1:48:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10020 r10021 201 201 shieldTH = .2* shieldMax; // shield power must be 20% before shield kicks in again 202 202 203 electronicCur = 10; 204 electronicMax = 50; 203 electronicCur = electronicMax = 50; 205 204 electronicRegen = 3; 206 205 electronicTH = .7 * electronicMax; // 30% of eDamage can be handled by the ship … … 769 768 bool SpaceShip::systemFailure() 770 769 { 771 return (this->electronicCur < /*this->rand() */ this->electronicTH); //TODO cleanup 770 //srand(time(0)); TODO implement 771 return (this->electronicCur < /*rand() */ this->electronicTH); 772 772 } 773 773
Note: See TracChangeset
for help on using the changeset viewer.