Files
Aurora.3/code/modules/spells/targeted/equip/shield.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

41 lines
1.1 KiB
Plaintext

/spell/targeted/equip_item/shield
name = "Summon Shield"
desc = "Summons the most holy of shields, the riot shield. Commonly used during wizard riots."
feedback = "SH"
school = "evocation"
invocation = "Sia helda!"
invocation_type = SpI_SHOUT
spell_flags = INCLUDEUSER | NEEDSCLOTHES
range = -1
max_targets = 1
compatible_mobs = list(/mob/living/carbon/human)
level_max = list(Sp_TOTAL = 3, Sp_SPEED = 2, Sp_POWER = 1)
charge_type = Sp_RECHARGE
charge_max = 900
cooldown_min = 300
equipped_summons = list("off hand" = /obj/item/weapon/shield/)
duration = 300
delete_old = 0
var/item_color = "#6666ff"
var/block_chance = 30
hud_state = "wiz_shield"
/spell/targeted/equip_item/shield/summon_item(var/new_type)
var/obj/item/weapon/shield/I = new new_type()
I.icon_state = "buckler"
I.color = item_color
I.name = "Wizard's Shield"
I.base_block_chance = block_chance
return I
/spell/targeted/equip_item/shield/empower_spell()
if(!..())
return 0
item_color = "#6600ff"
block_chance = 60
return "Your summoned shields will now block more often."