CleverRaven/Cataclysm-DDA — pull request #6076 by Soyweiser (2014-02-12 19:59:06+00:00)
Title: Fixing ranged bio weapons.

Well that was fun.

Fixed the ranged bio weapons. They had a few bugs.
The fusion blaster didn't use ammo.
The lightning generator didn't use moves.
The laser and lightning generator never refunded biopower on a cancel.
And the lightning generator did not do a lot of damage anymore after the bouncing got nerfed (you cannot bounce back to an already hit target, was possible before).

Fixed the above. Upped the lightning generator damage from 6 to 16. Increased the install difficulty from 3 to 5. (Same as fusion blaster). Fusion blaster is a lot better vs single targets, lightning works on larger groups to soften them up.

Cleaned up some code in bionics.cpp (duplicated code).

Created the BIO_WEAPON tag. Use it next to NO_AMMO implanted weapons. So the game can create the virtual ammo, and then reduce it by one if the gun fired a shot. Burst fire bio weapons are NOT supported.