Four New Sects, small rethemes to first 3 (#57820)

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
This commit is contained in:
tralezab
2021-04-11 12:57:43 -07:00
committed by GitHub
parent bd58650cb1
commit 09ab61ae05
76 changed files with 1883 additions and 293 deletions
+1 -6
View File
@@ -1,6 +1,3 @@
#define LIGHTNING_BOLT_DAMAGE 75
#define LIGHTNING_BOLT_ELECTROCUTION_ANIMATION_LENGTH 40
/// Strikes the target with a lightning bolt
/datum/smite/lightning
name = "Lightning bolt"
@@ -10,10 +7,8 @@
var/turf/lightning_source = get_step(get_step(target, NORTH), NORTH)
lightning_source.Beam(target, icon_state="lightning[rand(1,12)]", time = 5)
target.adjustFireLoss(LIGHTNING_BOLT_DAMAGE)
playsound(get_turf(user), 'sound/magic/lightningbolt.ogg', 50, TRUE)
if(ishuman(target))
var/mob/living/carbon/human/human_target = target
human_target.electrocution_animation(LIGHTNING_BOLT_ELECTROCUTION_ANIMATION_LENGTH)
to_chat(target, "<span class='userdanger'>The gods have punished you for your sins!</span>", confidential = TRUE)
#undef LIGHTNING_BOLT_DAMAGE
#undef LIGHTNING_BOLT_ELECTROCUTION_ANIMATION_LENGTH