mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Added a direction finding algorithm for target, get_dir_to(). Mostly useful for positioning sprites in relation to a target. Such as energy beams, lines, and so on. Changes to ninjas. Fixed a bunch of bugs and finished content. It is now possible to drag people with you when phase jaunting/shifting. Jaunting/shifting should also kill livestock, huggers, and damage mechs. Renamed /obj/spell path to obj/proc_holder/spell in order to have a generic proc_holder category. For now it only works for the AI but can be expanded to other mobs. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1566 316c924e-a436-60f5-8080-3fe189b3f50e
200 lines
5.0 KiB
Plaintext
200 lines
5.0 KiB
Plaintext
/obj/proc_holder/spell/targeted/projectile/magic_missile
|
|
name = "Magic Missile"
|
|
desc = "This spell fires several, slow moving, magic projectiles at nearby targets."
|
|
|
|
school = "evocation"
|
|
charge_max = 100
|
|
clothes_req = 1
|
|
invocation = "FORTI GY AMA"
|
|
invocation_type = "shout"
|
|
range = 7
|
|
|
|
max_targets = 0
|
|
|
|
proj_icon_state = "magicm"
|
|
proj_name = "a magic missile"
|
|
proj_lingering = 1
|
|
proj_type = "/obj/proc_holder/spell/targeted/inflict_handler/magic_missile"
|
|
|
|
proj_lifespan = 20
|
|
proj_step_delay = 5
|
|
|
|
proj_trail = 1
|
|
proj_trail_lifespan = 5
|
|
proj_trail_icon_state = "magicmd"
|
|
|
|
/obj/proc_holder/spell/targeted/inflict_handler/magic_missile
|
|
amt_weaken = 5
|
|
amt_dam_fire = 10
|
|
|
|
/obj/proc_holder/spell/targeted/genetic/mutate
|
|
name = "Mutate"
|
|
desc = "This spell causes you to turn into a hulk and gain telekinesis for a short while."
|
|
|
|
school = "transmutation"
|
|
charge_max = 400
|
|
clothes_req = 1
|
|
invocation = "BIRUZ BENNAR"
|
|
invocation_type = "shout"
|
|
message = "\blue You feel strong! Your mind expands!"
|
|
range = -1
|
|
include_user = 1
|
|
|
|
mutations = 9
|
|
duration = 300
|
|
|
|
/obj/proc_holder/spell/targeted/inflict_handler/disintegrate
|
|
name = "Disintegrate"
|
|
desc = "This spell instantly kills somebody adjacent to you with the vilest of magick."
|
|
|
|
school = "evocation"
|
|
charge_max = 600
|
|
clothes_req = 1
|
|
invocation = "EI NATH"
|
|
invocation_type = "shout"
|
|
range = 1
|
|
|
|
destroys = "disintegrate"
|
|
|
|
sparks_spread = 1
|
|
sparks_amt = 4
|
|
|
|
/obj/proc_holder/spell/targeted/smoke
|
|
name = "Smoke"
|
|
desc = "This spell spawns a cloud of choking smoke at your location and does not require wizard garb."
|
|
|
|
school = "conjuration"
|
|
charge_max = 120
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = -1
|
|
include_user = 1
|
|
|
|
smoke_spread = 2
|
|
smoke_amt = 10
|
|
|
|
/obj/proc_holder/spell/targeted/emplosion/disable_tech
|
|
name = "Disable Tech"
|
|
desc = "This spell disables all weapons, cameras and most other technology in range."
|
|
charge_max = 400
|
|
clothes_req = 1
|
|
invocation = "NEC CANTIO"
|
|
invocation_type = "shout"
|
|
range = -1
|
|
include_user = 1
|
|
|
|
emp_heavy = 5
|
|
emp_light = 7
|
|
|
|
/obj/proc_holder/spell/targeted/turf_teleport/blink
|
|
name = "Blink"
|
|
desc = "This spell randomly teleports you a short distance."
|
|
|
|
school = "abjuration"
|
|
charge_max = 20
|
|
clothes_req = 1
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = -1
|
|
include_user = 1
|
|
|
|
smoke_spread = 1
|
|
smoke_amt = 10
|
|
|
|
inner_tele_radius = 0
|
|
outer_tele_radius = 6
|
|
|
|
/obj/proc_holder/spell/targeted/area_teleport/teleport
|
|
name = "Teleport"
|
|
desc = "This spell teleports you to a type of area of your selection."
|
|
|
|
school = "abjuration"
|
|
charge_max = 600
|
|
clothes_req = 1
|
|
invocation = "SCYAR NILA"
|
|
invocation_type = "shout"
|
|
range = -1
|
|
include_user = 1
|
|
|
|
smoke_spread = 1
|
|
smoke_amt = 5
|
|
|
|
/obj/proc_holder/spell/aoe_turf/conjure/forcewall
|
|
name = "Forcewall"
|
|
desc = "This spell creates an unbreakable wall that lasts for 30 seconds and does not need wizard garb."
|
|
|
|
school = "transmutation"
|
|
charge_max = 100
|
|
clothes_req = 0
|
|
invocation = "TARCOL MINTI ZHERI"
|
|
invocation_type = "whisper"
|
|
range = 0
|
|
|
|
summon_type = list("/obj/forcefield")
|
|
summon_lifespan = 300
|
|
|
|
/obj/proc_holder/spell/aoe_turf/conjure/carp
|
|
name = "Summon Bigger Carp"
|
|
desc = "This spell conjures an elite carp."
|
|
|
|
school = "conjuration"
|
|
charge_max = 1200
|
|
clothes_req = 1
|
|
invocation = "NOUK FHUNMM SACP RISSKA"
|
|
invocation_type = "shout"
|
|
range = 1
|
|
|
|
summon_type = list("/obj/livestock/spesscarp/elite")
|
|
|
|
/obj/proc_holder/spell/targeted/trigger/blind
|
|
name = "Blind"
|
|
desc = "This spell temporarily blinds a single person and does not require wizard garb."
|
|
|
|
school = "transmutation"
|
|
charge_max = 300
|
|
clothes_req = 0
|
|
invocation = "STI KALY"
|
|
invocation_type = "whisper"
|
|
message = "\blue Your eyes cry out in pain!"
|
|
|
|
starting_spells = list("/obj/proc_holder/spell/targeted/inflict_handler/blind","/obj/proc_holder/spell/targeted/genetic/blind")
|
|
|
|
/obj/proc_holder/spell/targeted/inflict_handler/blind
|
|
amt_eye_blind = 10
|
|
amt_eye_blurry = 20
|
|
|
|
/obj/proc_holder/spell/targeted/genetic/blind
|
|
disabilities = 1
|
|
duration = 300
|
|
|
|
/obj/proc_holder/spell/targeted/projectile/fireball
|
|
name = "Fireball"
|
|
desc = "This spell fires a fireball at a target and does not require wizard garb."
|
|
|
|
school = "evocation"
|
|
charge_max = 200
|
|
clothes_req = 0
|
|
invocation = "ONI SOMA"
|
|
invocation_type = "shout"
|
|
|
|
proj_icon_state = "fireball"
|
|
proj_name = "a fireball"
|
|
proj_lingering = 1
|
|
proj_type = "/obj/proc_holder/spell/targeted/trigger/fireball"
|
|
|
|
proj_lifespan = 200
|
|
proj_step_delay = 1
|
|
|
|
/obj/proc_holder/spell/targeted/trigger/fireball
|
|
starting_spells = list("/obj/proc_holder/spell/targeted/inflict_handler/fireball","/obj/proc_holder/spell/targeted/explosion/fireball")
|
|
|
|
/obj/proc_holder/spell/targeted/inflict_handler/fireball
|
|
amt_dam_brute = 20
|
|
amt_dam_fire = 25
|
|
|
|
/obj/proc_holder/spell/targeted/explosion/fireball
|
|
ex_severe = -1
|
|
ex_heavy = -1
|
|
ex_light = 2
|
|
ex_flash = 5 |