Spellbook Overhaul; Remove rightandwrong antag making, href sanitizing

Rightandwrong will no longer have a 25% chance to make people antags,
since the spellbook overhaul makes it give a spellslot.
This commit is contained in:
Tigercat2000
2015-06-07 11:04:57 -07:00
parent 7c590aedd3
commit 2b9f242659
2 changed files with 1 additions and 13 deletions
@@ -10,18 +10,6 @@
if(H.stat == 2 || !(H.client)) continue
if(H.mind)
if(H.mind.special_role == "Wizard" || H.mind.special_role == "apprentice") continue
if(prob(25) && !(H.mind in ticker.mode.traitors))
ticker.mode.traitors += H.mind
H.mind.special_role = "traitor"
var/datum/objective/survive/survive = new
survive.owner = H.mind
H.mind.objectives += survive
H.attack_log += "\[[time_stamp()]\] <font color='red'>Was made into a survivor, and trusts no one!</font>"
H << "<B>You are the survivor! Your own safety matters above all else, trust no one and kill anyone who gets in your way. However, armed as you are, now would be the perfect time to settle that score or grab that pair of yellow gloves you've been eyeing...</B>"
var/obj_count = 1
for(var/datum/objective/OBJ in H.mind.objectives)
H << "<B>Objective #[obj_count]</B>: [OBJ.explanation_text]"
obj_count++
var/randomizeguns = pick(gunslist)
var/randomizemagic = pick(magiclist)
var/randomizemagicspecial = pick(magicspeciallist)
+1 -1
View File
@@ -500,7 +500,7 @@
if(result > 0)
uses += result
else if(href_list["page"])
tab = href_list["page"]
tab = sanitize(href_list["page"])
attack_self(H)
return