mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 20:46:29 +01:00
* Reduces radiation artifact's extreme power * Just removes scramble artifact until someone wants to make it actually interesting * Reduce range of tier3 artifacts to max of 100 given the map size * Dorms protect from anomalies
25 lines
751 B
Plaintext
25 lines
751 B
Plaintext
/datum/artifact_effect/radiate
|
|
name = "radiation"
|
|
var/radiation_amount
|
|
|
|
/datum/artifact_effect/radiate/New()
|
|
..()
|
|
radiation_amount = rand(1, 10)
|
|
effect_type = pick(EFFECT_PARTICLE, EFFECT_ORGANIC)
|
|
|
|
/datum/artifact_effect/radiate/DoEffectTouch(var/mob/living/user)
|
|
if(user)
|
|
user.apply_effect(radiation_amount * 5,IRRADIATE,0)
|
|
user.updatehealth()
|
|
return 1
|
|
|
|
/datum/artifact_effect/radiate/DoEffectAura()
|
|
if(holder)
|
|
radiation_repository.flat_radiate(holder, radiation_amount, src.effectrange)
|
|
return 1
|
|
|
|
/datum/artifact_effect/radiate/DoEffectPulse()
|
|
if(holder)
|
|
radiation_repository.radiate(holder, ((radiation_amount * 3) * (sqrt(src.effectrange)))) //Need to get feedback on this //VOREStation Edit - Was too crazy-strong.
|
|
return 1
|