- Timestamp:
- May 16, 2011, 5:25:00 PM (14 years ago)
- Location:
- code/branches/gameimmersion/src/modules/weapons/weaponmodes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/weaponmodes/EnergyDrink.cc
r7284 r8492 112 112 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 113 113 projectile->setDamage(this->getDamage()); 114 projectile->setShieldDamage(this->getShieldDamage()); 115 projectile->setHealthDamage(this->getHealthDamage()); 114 116 115 117 EnergyDrink::muendungsfeuer(); -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/FusionFire.cc
r6732 r8492 65 65 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 66 66 projectile->setDamage(this->getDamage()); 67 projectile->setShieldDamage(this->getShieldDamage()); 68 projectile->setHealthDamage(this->getHealthDamage()); 69 67 70 projectile->setColour(ColourValue(1.0f, 0.7f, 0.3f, 1.0f)); 68 71 } -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/HsW01.cc
r7284 r8492 126 126 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 127 127 projectile->setDamage(this->getDamage()); 128 projectile->setShieldDamage(this->getShieldDamage()); 129 projectile->setHealthDamage(this->getHealthDamage()); 128 130 129 131 HsW01::muendungsfeuer(); -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/LaserFire.cc
r6732 r8492 61 61 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 62 62 projectile->setDamage(this->getDamage()); 63 projectile->setShieldDamage(this->getShieldDamage()); 64 projectile->setHealthDamage(this->getHealthDamage()); 63 65 } 64 66 } -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/LightningGun.cc
r8386 r8492 70 70 projectile->setDamage(this->getDamage()); 71 71 projectile->setShieldDamage(this->getShieldDamage()); 72 projectile->setHealthDamage(this->getHealthDamage()); 72 73 } 73 74 } -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/RocketFire.cc
r7846 r8492 71 71 rocket->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 72 72 rocket->setDamage(this->getDamage()); 73 // rocket->setShieldDamage(this->getShieldDamage()); 74 // rocket->setHealthDamage(this->getHealthDamage()); 73 75 } 74 76 } -
code/branches/gameimmersion/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r7846 r8492 71 71 rocket->setVelocity(this->getMuzzleDirection()*this->speed_); 72 72 rocket->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 73 73 74 rocket->setDamage(this->damage_); 75 // rocket->setShieldDamage(this->getShieldDamage()); 76 // rocket->setHealthDamage(this->getHealthDamage()); 77 74 78 WorldEntity* pawnn=static_cast<ControllableEntity*>(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn())->getTarget(); 75 79 if (pawnn) con->setTarget(pawnn);
Note: See TracChangeset
for help on using the changeset viewer.