- Timestamp:
- May 25, 2011, 9:41:29 PM (13 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
- Property svn:mergeinfo changed
-
code/branches/presentation/src/modules/weapons/weaponmodes/LightningGun.cc
r8579 r8580 23 23 * Joel Smely 24 24 * Co-authors: 25 * ...25 * simonmie 26 26 * 27 27 */ … … 45 45 46 46 this->reloadTime_ = 1; 47 this->damage_ = 100;47 this->damage_ = 0; //default 100 48 48 this->speed_ = 150; 49 49 … … 56 56 } 57 57 58 /* Creates the projectile (LightningGunProjectile) object, sets its properties to the LightningGun properties 59 */ 58 60 void LightningGun::fire() 59 61 { … … 69 71 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 70 72 projectile->setDamage(this->getDamage()); 73 projectile->setShieldDamage(this->getShieldDamage()); 74 projectile->setHealthDamage(this->getHealthDamage()); 71 75 } 72 76 }
Note: See TracChangeset
for help on using the changeset viewer.