Files
Aurora.3/code/modules/spells/targeted/torment.dm
Alberyk ed6dbee896 Bay wizard port/rework (#1635)
Ports the newest bay wizard version, with some additions and changes.

General changes:
-ported the newest bay wizard
-wizards can select some school of magic, which also changes their spell selection as whole.
-added several new spells, like raise dead, contracts that bind the person with the wizard, and more.
-added wands, limited sources of certain types of effects/spell, also with their own bad effects for non wizards
-changed the wizard checks to a faction check instead of a mind check
-fixed wizards without certain slots due to race being fucked over due to it
-added new artifacts
-balanced some spells like the emp
-added a lot of new sounds to spell, mostly from tg
-remove horse mask from spell selection, also, you can melt the mask with acid now
-wizard's spell are now displayed at round end like traitors and what they did buy
-also fixes vaurca, and vox, antags spawning without a mask by default
2017-02-07 18:45:42 +02:00

34 lines
788 B
Plaintext

/spell/targeted/torment
name = "Torment"
desc = "this spell causes pain to all those in its radius."
feedback = "TM"
school = "evocation"
charge_max = 150
spell_flags = 0
invocation = "RAI DI KAAL"
invocation_type = SpI_SHOUT
range = 5
level_max = list(Sp_TOTAL = 1, Sp_SPEED = 0, Sp_POWER = 1)
cooldown_min = 50
message = "<span class='danger'>So much pain! All you can hear is screaming!</span>"
max_targets = 0
compatible_mobs = list(/mob/living/carbon/human)
var/loss = 30
hud_state = "wiz_horse"
/spell/targeted/torment/cast(var/list/targets, var/mob/user)
gibs(user.loc)
for(var/mob/living/carbon/human/H in targets)
H.adjustHalLoss(loss)
/spell/targeted/torment/empower_spell()
if(!..())
return 0
loss += 30
return "[src] will now cause more pain."