Changeset 10252 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Jan 17, 2007, 1:41:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10237 r10252 166 166 wpLeft2->setName( "MediumBlaster"); 167 167 //wpLeft2->setParent( this); 168 168 169 169 Weapon* wpRight3 = new HeavyBlaster (1); 170 170 wpRight3->setName( "HeavyBlaster"); … … 177 177 cannon->setName( "SwarmLauncher"); 178 178 179 //Weapon* spike = new SpikeThrower();180 //spike->setName( "SpikeThrower" );179 Weapon* spike = new SpikeThrower(); 180 spike->setName( "SpikeThrower" ); 181 181 182 182 Weapon* spike2 = new SpikeLauncher(); … … 202 202 203 203 this->secWeaponMan.addWeapon( cannon, 0, 0); 204 /* this->secWeaponMan.addWeapon( spike, 1, 1);*/ 204 this->secWeaponMan.addWeapon( spike, 1, 1); 205 205 this->secWeaponMan.addWeapon( spike2, 2, 2); 206 206 207 207 208 208 this->weaponMan.changeWeaponConfig(3); 209 209 this->secWeaponMan.changeWeaponConfig(2); … … 226 226 shieldCur = 20; 227 227 shieldMax = 100; 228 shieldTH = .2 * shieldMax; // shield power must be 20% before shield kicks in again228 shieldTH = .2 * shieldMax; // shield power must be 20% before shield kicks in again 229 229 230 230 this->setHealth( 20);
Note: See TracChangeset
for help on using the changeset viewer.