some fixes for more stuff I broke

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2064 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
LastBattaWolf@hotmail.com
2011-08-29 05:24:28 +00:00
parent 1332e2e818
commit 228be07b7c
3 changed files with 22 additions and 30 deletions

View File

@@ -76,15 +76,15 @@ var/list/spells = typesof(/obj/proc_holder/spell) //needed for the badmin verb f
/obj/proc_holder/spell/proc/invocation(mob/user = usr) //spelling the spell out and setting it on recharge/reducing charges amount /obj/proc_holder/spell/proc/invocation(mob/user = usr) //spelling the spell out and setting it on recharge/reducing charges amount
// switch(invocation_type) switch(invocation_type)
// if("shout") if("shout")
// usr.say(invocation) usr.say(invocation)
// if(usr.gender=="male") if(usr.gender=="male")
// playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1) playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1)
// else else
// playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1) playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1)
// if("whisper") if("whisper")
// usr.whisper(invocation) usr.whisper(invocation)
/obj/proc_holder/spell/New() /obj/proc_holder/spell/New()
..() ..()

View File

@@ -49,15 +49,15 @@
/obj/proc_holder/spell/targeted/area_teleport/invocation(area/chosenarea = null) /obj/proc_holder/spell/targeted/area_teleport/invocation(area/chosenarea = null)
if(!invocation_area || !chosenarea) if(!invocation_area || !chosenarea)
..() ..()
// else else
// switch(invocation_type) switch(invocation_type)
// if("shout") if("shout")
// usr.say("[invocation] [uppertext(chosenarea.name)]") usr.say("[invocation] [uppertext(chosenarea.name)]")
// if(usr.gender=="male") if(usr.gender=="male")
// playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1) playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1)
// else else
// playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1) playsound(usr.loc, pick('null.ogg','null.ogg'), 100, 1)
// if("whisper") if("whisper")
// usr.whisper("[invocation] [uppertext(chosenarea.name)]") usr.whisper("[invocation] [uppertext(chosenarea.name)]")
//
// return return

View File

@@ -20,7 +20,6 @@
usr.verbs += /client/proc/blind usr.verbs += /client/proc/blind
usr.whisper("STI KALY") usr.whisper("STI KALY")
playsound(usr.loc,'stikaly.ogg', 100,1)
// usr.spellvoice() // usr.spellvoice()
var/obj/overlay/B = new /obj/overlay( M.loc ) var/obj/overlay/B = new /obj/overlay( M.loc )
@@ -54,7 +53,6 @@
if(!usr.casting()) return if(!usr.casting()) return
usr.say("FORTI GY AMA") usr.say("FORTI GY AMA")
playsound(usr.loc,'fortigyama.ogg', 100.1)
usr.spellvoice() usr.spellvoice()
for (var/mob/living/M as mob in oview()) for (var/mob/living/M as mob in oview())
@@ -157,7 +155,6 @@
var/forcefield var/forcefield
usr.whisper("TARCOL MINTI ZHERI") usr.whisper("TARCOL MINTI ZHERI")
playsound(usr.loc,'tarcolminti.ogg', 100,1)
// usr.spellvoice() // usr.spellvoice()
forcefield = new /obj/forcefield(locate(usr.x,usr.y,usr.z)) forcefield = new /obj/forcefield(locate(usr.x,usr.y,usr.z))
@@ -181,8 +178,7 @@
usr.verbs += /client/proc/fireball usr.verbs += /client/proc/fireball
usr.say("ONI SOMA") usr.say("ONI SOMA")
playsound(usr.loc,'onisoma.ogg', 100,1) // usr.spellvoice()
// usr.spellvoice()
var/obj/overlay/A = new /obj/overlay( usr.loc ) var/obj/overlay/A = new /obj/overlay( usr.loc )
A.icon_state = "fireball" A.icon_state = "fireball"
@@ -239,7 +235,6 @@
usr.verbs += /mob/proc/kill usr.verbs += /mob/proc/kill
usr.say("EI NATH") usr.say("EI NATH")
playsound('einath.ogg')
usr.spellvoice() usr.spellvoice()
var/datum/effects/system/spark_spread/s = new /datum/effects/system/spark_spread var/datum/effects/system/spark_spread/s = new /datum/effects/system/spark_spread
@@ -263,7 +258,6 @@
usr.verbs += /mob/proc/tech usr.verbs += /mob/proc/tech
usr.say("NEC CANTIO") usr.say("NEC CANTIO")
playsound(usr.loc,'neccantio.ogg', 100,1)
usr.spellvoice() usr.spellvoice()
empulse(src, 6, 10) empulse(src, 6, 10)
return return
@@ -327,7 +321,6 @@
var/area/thearea = teleportlocs[A] var/area/thearea = teleportlocs[A]
usr.say("SCYAR NILA [uppertext(A)]") usr.say("SCYAR NILA [uppertext(A)]")
playsound(usr.loc,'scyarnila.ogg', 100,1)
usr.spellvoice() usr.spellvoice()
var/datum/effects/system/harmless_smoke_spread/smoke = new /datum/effects/system/harmless_smoke_spread() var/datum/effects/system/harmless_smoke_spread/smoke = new /datum/effects/system/harmless_smoke_spread()
@@ -482,7 +475,6 @@
usr.verbs += /client/proc/mutate usr.verbs += /client/proc/mutate
usr.say("BIRUZ BENNAR") usr.say("BIRUZ BENNAR")
playsound(usr.loc,'brucebanner.ogg', 100,1)
usr.spellvoice() usr.spellvoice()
usr << text("\blue You feel strong! Your mind expands!") usr << text("\blue You feel strong! Your mind expands!")