Files
Aurora.3/code/modules/spells/targeted/equip/holy_relic.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
945 B
Plaintext

/spell/targeted/equip_item/holy_relic
name = "Summon Holy Relic"
desc = "This spell summons a relic of purity into your hand for a short while."
feedback = "SR"
school = "transmutation"
charge_type = Sp_RECHARGE
charge_max = 600
spell_flags = NEEDSCLOTHES | INCLUDEUSER
invocation = "YEE' RO SU!"
invocation_type = SpI_SHOUT
range = -1
max_targets = 1
level_max = list(Sp_TOTAL = 2, Sp_SPEED = 1, Sp_POWER = 1)
duration = 250
cooldown_min = 350
delete_old = 0
compatible_mobs = list(/mob/living/carbon/human)
hud_state = "purge1"
equipped_summons = list("active hand" = /obj/item/weapon/nullrod)
/spell/targeted/equip_item/holy_relic/cast(list/targets, mob/user = usr)
..()
for(var/mob/M in targets)
M.visible_message("A rod of metal appears in \the [M]'s hand!")
/spell/targeted/equip_item/holy_relic/empower_spell()
if(!..())
return 0
duration += 50
return "The holy relic now lasts for [duration/10] seconds."