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

47 lines
1.0 KiB
Plaintext

/spell/targeted/projectile/dumbfire/passage
name = "Passage"
desc = "throw a spell towards an area and teleport to it."
feedback = "PA"
proj_type = /obj/item/projectile/spell_projectile/passage
school = "abjuration"
charge_max = 250
spell_flags = 0
invocation = "A'YASAMA"
invocation_type = SpI_SHOUT
range = 15
level_max = list(Sp_TOTAL = 1, Sp_SPEED = 0, Sp_POWER = 1)
spell_flags = NEEDSCLOTHES
duration = 15
proj_step_delay = 1
hud_state = "gen_project"
/spell/targeted/projectile/dumbfire/passage/prox_cast(var/list/targets, atom/spell_holder)
for(var/mob/living/L in targets)
apply_spell_damage(L)
var/turf/T = get_turf(spell_holder)
holder.forceMove(T)
var/datum/effect/effect/system/smoke_spread/S = new /datum/effect/effect/system/smoke_spread()
S.set_up(3,0,T)
S.start()
/spell/targeted/projectile/dumbfire/passage/empower_spell()
if(!..())
return 0
amt_stunned += 3
return "[src] now stuns those who get hit by it."
/obj/item/projectile/spell_projectile/passage
name = "spell"
icon_state = "energy2"