|
|
|
|
@@ -30,8 +30,6 @@
|
|
|
|
|
<I>This spell fires several, slow moving, magic projectiles at nearby targets. If they hit a target, it is paralyzed and takes minor damage.</I><BR>
|
|
|
|
|
<A href='byond://?src=\ref[src];spell_choice=fireball'>Fireball</A> (10)<BR>
|
|
|
|
|
<I>This spell fires a fireball in the direction you're facing and does not require wizard garb. Be careful not to fire it at people that are standing next to you.</I><BR>
|
|
|
|
|
<A href='byond://?src=\ref[src];spell_choice=disintegrate'>Disintegrate</A> (60)<BR>
|
|
|
|
|
<I>This spell instantly kills somebody adjacent to you with the vilest of magick. It has a long cooldown.</I><BR>
|
|
|
|
|
<A href='byond://?src=\ref[src];spell_choice=disabletech'>Disable Technology</A> (60)<BR>
|
|
|
|
|
<I>This spell disables all weapons, cameras and most other technology in range.</I><BR>
|
|
|
|
|
<A href='byond://?src=\ref[src];spell_choice=smoke'>Smoke</A> (10)<BR>
|
|
|
|
|
@@ -121,7 +119,7 @@
|
|
|
|
|
uses--
|
|
|
|
|
/*
|
|
|
|
|
*/
|
|
|
|
|
var/list/available_spells = list(magicmissile = "Magic Missile", fireball = "Fireball", disintegrate = "Disintegrate", disabletech = "Disable Tech", smoke = "Smoke", blind = "Blind", subjugation = "Subjugation", mindswap = "Mind Transfer", forcewall = "Forcewall", blink = "Blink", teleport = "Teleport", mutate = "Mutate", etherealjaunt = "Ethereal Jaunt", knock = "Knock", horseman = "Curse of the Horseman", staffchange = "Staff of Change", mentalfocus = "Mental Focus", soulstone = "Six Soul Stone Shards and the spell Artificer", armor = "Mastercrafted Armor Set", staffanimate = "Staff of Animation", noclothes = "No Clothes",fleshtostone = "Flesh to Stone")
|
|
|
|
|
var/list/available_spells = list(magicmissile = "Magic Missile", fireball = "Fireball", disabletech = "Disable Tech", smoke = "Smoke", blind = "Blind", subjugation = "Subjugation", mindswap = "Mind Transfer", forcewall = "Forcewall", blink = "Blink", teleport = "Teleport", mutate = "Mutate", etherealjaunt = "Ethereal Jaunt", knock = "Knock", horseman = "Curse of the Horseman", staffchange = "Staff of Change", mentalfocus = "Mental Focus", soulstone = "Six Soul Stone Shards and the spell Artificer", armor = "Mastercrafted Armor Set", staffanimate = "Staff of Animation", noclothes = "No Clothes",fleshtostone = "Flesh to Stone")
|
|
|
|
|
var/already_knows = 0
|
|
|
|
|
for(var/spell/aspell in H.spell_list)
|
|
|
|
|
if(available_spells[href_list["spell_choice"]] == initial(aspell.name))
|
|
|
|
|
@@ -161,10 +159,6 @@
|
|
|
|
|
feedback_add_details("wizard_spell_learned","FB") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
H.add_spell(new/spell/targeted/projectile/dumbfire/fireball)
|
|
|
|
|
temp = "You have learned fireball."
|
|
|
|
|
if("disintegrate")
|
|
|
|
|
feedback_add_details("wizard_spell_learned","DG") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
H.add_spell(new/spell/targeted/disintegrate)
|
|
|
|
|
temp = "You have learned disintegrate."
|
|
|
|
|
if("disabletech")
|
|
|
|
|
feedback_add_details("wizard_spell_learned","DT") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
H.add_spell(new/spell/aoe_turf/disable_tech)
|
|
|
|
|
@@ -213,10 +207,6 @@
|
|
|
|
|
feedback_add_details("wizard_spell_learned","HH") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
H.add_spell(new/spell/targeted/equip_item/horsemask)
|
|
|
|
|
temp = "You have learned curse of the horseman."
|
|
|
|
|
if("fleshtostone")
|
|
|
|
|
feedback_add_details("wizard_spell_learned","FS") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
H.add_spell(new/spell/targeted/flesh_to_stone)
|
|
|
|
|
temp = "You have learned flesh to stone."
|
|
|
|
|
if("staffchange")
|
|
|
|
|
feedback_add_details("wizard_spell_learned","ST") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
|
|
|
|
new /obj/item/weapon/gun/energy/staff(get_turf(H))
|
|
|
|
|
@@ -253,7 +243,7 @@
|
|
|
|
|
H.mutations.Add(XRAY)
|
|
|
|
|
H.sight |= (SEE_MOBS|SEE_OBJS|SEE_TURFS)
|
|
|
|
|
H.see_invisible = SEE_INVISIBLE_LEVEL_TWO
|
|
|
|
|
H << "\blue The walls suddenly disappear."
|
|
|
|
|
H << "span class='notice'>The walls suddenly disappear.</span>"
|
|
|
|
|
temp = "You have purchased a scrying orb, and gained x-ray vision."
|
|
|
|
|
max_uses--
|
|
|
|
|
else
|
|
|
|
|
|