Files
Arokha Sieyes 6e85d6c519 Ruins xenoarch forever
* 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
2018-01-21 00:29:34 -05:00

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