mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user