Files
Aurora.3/code/modules/spells/targeted/projectile/magic_missile.dm
skull132 a2fd4fac71 Wizardry Fixes
* Fixes #161
* Doubles the Magic Missile recharge time so that you can no longer perma stunlock people
* Lowers the amount of confusion subjugate does, also lowers its recharge time
2016-02-21 17:48:48 +02:00

41 lines
1007 B
Plaintext

/spell/targeted/projectile/magic_missile
name = "Magic Missile"
desc = "This spell fires several, slow moving, magic projectiles at nearby targets."
school = "evocation"
charge_max = 300
spell_flags = NEEDSCLOTHES
invocation = "FORTI GY AMA"
invocation_type = SpI_SHOUT
range = 7
cooldown_min = 150 //15 deciseconds reduction per rank
max_targets = 0
proj_type = /obj/item/projectile/spell_projectile/seeking/magic_missile
duration = 10
proj_step_delay = 5
hud_state = "wiz_mm"
amt_paralysis = 3
amt_stunned = 3
amt_dam_fire = 10
/spell/targeted/projectile/magic_missile/prox_cast(var/list/targets, atom/spell_holder)
spell_holder.visible_message("<span class='danger'>\The [spell_holder] pops with a flash!</span>")
for(var/mob/living/M in targets)
apply_spell_damage(M)
return
//PROJECTILE
/obj/item/projectile/spell_projectile/seeking/magic_missile
name = "magic missile"
icon_state = "magicm"
proj_trail = 1
proj_trail_lifespan = 5
proj_trail_icon_state = "magicmd"