Files
Aurora.3/code/modules/spells/targeted/projectile/magic_missile.dm
Alberyk 539be7f192 Fixing broken magic missiles, corrupted form and rev/cult tweaks (#1766)
-fix magic missiles not working
-corrupt form should not strip the wizard, should last longer and the fully upgraded form was buffed
-heads of staff, except implanted ones, can be converted to rev now
-cultists gets the cult language
-loyalty implants will stop rev convertion
-probably fixed ai and cyborgs being selected as cultists and getting access to aooc
- Fixes #1777
2017-02-17 20:15:10 +02:00

54 lines
1.3 KiB
Plaintext

/spell/targeted/projectile/magic_missile
name = "Magic Missile"
desc = "This spell fires several, slow moving, magic projectiles at nearby targets."
feedback = "MM"
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
cast_sound = 'sound/magic/MAGIC_MISSILE.ogg'
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
/spell/targeted/projectile/magic_missile/empower_spell()
if(!..())
return 0
if(spell_levels[Sp_POWER] == level_max[Sp_POWER])
amt_paralysis += 2
amt_stunned += 2
return "[src] will now stun people for a longer duration."
amt_dam_fire += 5
return "[src] does more damage now."
//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"