mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-02 05:22:40 +00:00
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
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
/spell/targeted/equip_item/horsemask
|
|
name = "Curse of the Horseman"
|
|
desc = "This spell triggers a curse on a target, causing them to wield an unremovable horse head mask. They will speak like a horse! Any masks they are wearing will be disintegrated. This spell does not require robes."
|
|
school = "transmutation"
|
|
charge_type = Sp_RECHARGE
|
|
charge_max = 150
|
|
charge_counter = 0
|
|
spell_flags = SELECTABLE
|
|
invocation = "KN'A FTAGHU, PUCK 'BTHNK!"
|
|
invocation_type = SpI_SHOUT
|
|
range = 7
|
|
max_targets = 1
|
|
cooldown_min = 30 //30 deciseconds reduction per rank
|
|
selection_type = "range"
|
|
|
|
compatible_mobs = list(/mob/living/carbon/human)
|
|
|
|
hud_state = "wiz_horse"
|
|
|
|
/spell/targeted/equip_item/horsemask/New()
|
|
..()
|
|
equipped_summons = list("[slot_wear_mask]" = /obj/item/clothing/mask/horsehead)
|
|
|
|
/spell/targeted/equip_item/horsemask/cast(list/targets, mob/user = usr)
|
|
..()
|
|
for(var/mob/living/target in targets)
|
|
target.visible_message( "<span class='danger'>[target]'s face lights up in fire, and after the event a horse's head takes its place!</span>", \
|
|
"<span class='danger'>Your face burns up, and shortly after the fire you realise you have the face of a horse!</span>")
|
|
flick("e_flash", target.flash)
|
|
|
|
/spell/targeted/equip_item/horsemask/summon_item(var/new_type)
|
|
var/obj/item/new_item = new new_type
|
|
new_item.canremove = 0 //curses!
|
|
// new_item.unacidable = 1
|
|
if(istype(new_item, /obj/item/clothing/mask/horsehead))
|
|
var/obj/item/clothing/mask/horsehead/magichead = new_item
|
|
magichead.flags_inv = null //so you can still see their face
|
|
magichead.voicechange = 1 //NEEEEIIGHH
|
|
return new_item
|