cannonball ![code/modules/projectiles/projectile/bullets/cannonball.dm 1](git.png)
Vars | |
damage_decrease_on_hit | If our cannonball hits something, it reduces the damage by this value. |
---|---|
object_damage | This is the damage value we do to objects on hit. Usually, more than the actual projectile damage |
object_damage_decrease_on_hit | How much our object damage decreases on hit, similar to normal damage. |
object_damage_decreases | Whether or not our cannonball loses object damage upon hitting an object. |
stop_piercing_threshold | This is the cutoff point of our cannonball, so that it stops piercing past this value. |
Var Details
damage_decrease_on_hit ![code/modules/projectiles/projectile/bullets/cannonball.dm 15](git.png)
If our cannonball hits something, it reduces the damage by this value.
object_damage ![code/modules/projectiles/projectile/bullets/cannonball.dm 19](git.png)
This is the damage value we do to objects on hit. Usually, more than the actual projectile damage
object_damage_decrease_on_hit ![code/modules/projectiles/projectile/bullets/cannonball.dm 23](git.png)
How much our object damage decreases on hit, similar to normal damage.
object_damage_decreases ![code/modules/projectiles/projectile/bullets/cannonball.dm 21](git.png)
Whether or not our cannonball loses object damage upon hitting an object.
stop_piercing_threshold ![code/modules/projectiles/projectile/bullets/cannonball.dm 17](git.png)
This is the cutoff point of our cannonball, so that it stops piercing past this value.