- Timestamp:
- May 25, 2011, 9:22:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/weapons/weaponmodes/EnergyDrink.cc
r7284 r8578 23 23 * Hagen Seifert 24 24 * Co-authors: 25 * ...25 * simonmie 26 26 * 27 27 */ … … 50 50 51 51 this->reloadTime_ = 0.25; 52 this->damage_ = 15;52 this->damage_ = 0; //default 15 53 53 this->speed_ = 2500; 54 54 this->delay_ = 0; … … 97 97 } 98 98 99 /* Creates the projectile object, sets its properties to the EnergyDrink properties, calls muendungsfeuer() 100 */ 99 101 void EnergyDrink::shot() 100 102 { … … 112 114 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 113 115 projectile->setDamage(this->getDamage()); 116 projectile->setShieldDamage(this->getShieldDamage()); 117 projectile->setHealthDamage(this->getHealthDamage()); 114 118 115 119 EnergyDrink::muendungsfeuer();
Note: See TracChangeset
for help on using the changeset viewer.