net.psforever.objects.vital.damage
Get damage information from a series of profiles related to the weapon discharge.
Get damage information from a series of profiles related to the weapon discharge.
the function that recovers the damage value
the profile from which primary damage is to be selected
alternate profiles that will modify the base damage value
the accumulated damage value
Modify the base damage based on the degrade distance of the projectile type and its maximum effective distance.
Modify the base damage based on the degrade distance of the projectile type and its maximum effective distance. Calls out "direct hit" damage but is recycled for other damage types as well.
information about the weapon discharge (itself)
the accumulated amount of damage
how far the source was from the target
the modified damage value
Calculate a lash damage value.
Calculate a lash damage value. The target needs to be more than five meters away. Since lash damage occurs after the direct hit projectile's damage begins to degrade, the minimum of five less than distance or zero is calculated.
information about the weapon discharge (itself)
the accumulated amount of damage
how far the source was from the target
the modified damage value
Use an unmodified damage value.
Use an unmodified damage value.
information about the weapon discharge (itself); unused
the accumulated amount of damage
how far the source was from the target; unused
the rawDamage value
Modify the base damage based on the radial distance of the target from the center of an explosion.
Modify the base damage based on the radial distance of the target from the center of an explosion. Calls out "splash" damage exclusively.
information about the weapon discharge (itself)
the accumulated amount of damage
how far the origin of the explosion was from the target
the modified damage value