Files
Bubberstation/code/modules/projectiles/projectile/energy/radiation.dm
SkyratBot 9c60ff1de1 [MIRROR] Removes Clone Damage [MDB IGNORE] (#25429)
* Removes Clone Damage

* Update blackbox.dm

* Modular

* Update schema

* Update database_changelog.md

* More modular deprecated clone things

---------

Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
2023-12-04 23:01:54 -05:00

20 lines
532 B
Plaintext

/obj/projectile/energy/radiation
name = "radiation beam"
icon_state = "declone"
damage = 20
damage_type = TOX
impact_effect_type = /obj/effect/temp_visual/impact_effect/green_laser
/// The chance to be irradiated on hit
var/radiation_chance = 30
/obj/projectile/energy/radiation/on_hit(atom/target, blocked, pierce_hit)
if (ishuman(target) && prob(radiation_chance))
radiation_pulse(target, max_range = 0, threshold = RAD_FULL_INSULATION)
..()
/obj/projectile/energy/radiation/weak
damage = 9
radiation_chance = 10