This is guess is quite a bit odd question but i really need some help here!
Whats the best way to shoot and take damage?
Enemy has a life property, i want to ray it and depending on a property(actual weapon damage) i want to decrease the life of the enemy.
Enemy - Life 
Player - weapon_damage
If fire rayed enemy Life -= weapon damage.