mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Object spell system v1.1
Completely revamped the classes, it's even more streamlined now. Got a few bugs and tweaks (namely, blind doesn't work, fireball got buffed up as compensation for not dealing additional damage to the target), but it's okay, since nobody uses those anyway. Fixed the bug with emagged borg laws. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1465 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
wizard_mob.verbs += /client/proc/jaunt
|
||||
wizard_mob.mind.special_verbs += /client/proc/jaunt
|
||||
else
|
||||
wizard_mob.spell_list += new /obj/spell/ethereal_jaunt(usr)
|
||||
wizard_mob.spell_list += new /obj/spell/targeted/ethereal_jaunt(usr)
|
||||
|
||||
//So zards properly get their items when they are admin-made.
|
||||
del(wizard_mob.wear_suit)
|
||||
@@ -394,43 +394,43 @@
|
||||
if(!already_knows)
|
||||
switch(href_list["spell_choice"])
|
||||
if ("1")
|
||||
usr.spell_list += new /obj/spell/magic_missile(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/projectile/magic_missile(usr)
|
||||
src.temp = "This spell fires several, slow moving, magic projectiles at nearby targets. If they hit a target, it is paralyzed and takes minor damage."
|
||||
if ("2")
|
||||
usr.spell_list += new /obj/spell/fireball(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/projectile/fireball(usr)
|
||||
src.temp = "This spell fires a fireball at a target and does not require wizard garb. Be careful not to fire it at people that are standing next to you."
|
||||
if ("3")
|
||||
usr.spell_list += new /obj/spell/disintegrate(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/inflict_handler/disintegrate(usr)
|
||||
src.temp = "This spell instantly kills somebody adjacent to you with the vilest of magick. It has a long cooldown."
|
||||
if ("4")
|
||||
usr.spell_list += new /obj/spell/disable_tech(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/emplosion/disable_tech(usr)
|
||||
src.temp = "This spell disables all weapons, cameras and most other technology in range."
|
||||
if ("5")
|
||||
usr.spell_list += new /obj/spell/smoke(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/smoke(usr)
|
||||
src.temp = "This spell spawns a cloud of choking smoke at your location and does not require wizard garb."
|
||||
if ("6")
|
||||
usr.spell_list += new /obj/spell/blind(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/genetic/blind(usr)
|
||||
src.temp = "This spell temporarly blinds a single person and does not require wizard garb."
|
||||
if ("7")
|
||||
usr.spell_list += new /obj/spell/mind_transfer(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/mind_transfer(usr)
|
||||
src.temp = "This spell allows the user to switch bodies with a target. Careful to not lose your memory in the process."
|
||||
if ("8")
|
||||
usr.spell_list += new /obj/spell/forcewall(usr)
|
||||
usr.spell_list += new /obj/spell/aoe_turf/conjure/forcewall(usr)
|
||||
src.temp = "This spell creates an unbreakable wall that lasts for 30 seconds and does not need wizard garb."
|
||||
if ("9")
|
||||
usr.spell_list += new /obj/spell/blink(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/turf_teleport/blink(usr)
|
||||
src.temp = "This spell randomly teleports you a short distance. Useful for evasion or getting into areas if you have patience."
|
||||
if ("10")
|
||||
usr.spell_list += new /obj/spell/teleport(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/area_teleport/teleport(usr)
|
||||
src.temp = "This spell teleports you to a type of area of your selection. Very useful if you are in danger, but has a decent cooldown, and is unpredictable."
|
||||
if ("11")
|
||||
usr.spell_list += new /obj/spell/mutate(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/genetic/mutate(usr)
|
||||
src.temp = "This spell causes you to turn into a hulk and gain telekinesis for a short while."
|
||||
if ("12")
|
||||
usr.spell_list += new /obj/spell/ethereal_jaunt(usr)
|
||||
usr.spell_list += new /obj/spell/targeted/ethereal_jaunt(usr)
|
||||
src.temp = "This spell creates your ethereal form, temporarily making you invisible and able to pass through walls."
|
||||
if ("13")
|
||||
usr.spell_list += new /obj/spell/knock(usr)
|
||||
usr.spell_list += new /obj/spell/aoe_turf/knock(usr)
|
||||
src.temp = "This spell opens nearby doors and does not require wizard garb."
|
||||
if (href_list["spell_choice"] == "14")
|
||||
var/area/wizard_station/A = locate()
|
||||
|
||||
Reference in New Issue
Block a user