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