Skip to content

Commit 2c2dc37

Browse files
Remove EMP spellbook from random pool (ParadiseSS13#25304)
* Remove EMP spellbook from random pool * Wait, that won't work * Update code/game/gamemodes/wizard/spellbook.dm Signed-off-by: DGamerL <[email protected]> --------- Signed-off-by: DGamerL <[email protected]> Co-authored-by: DGamerL <[email protected]>
1 parent d05970e commit 2c2dc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/game/gamemodes/wizard/spellbook.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@
11511151

11521152
/obj/item/spellbook/oneuse/random/initialize()
11531153
. = ..()
1154-
var/static/banned_spells = list(/obj/item/spellbook/oneuse/mime, /obj/item/spellbook/oneuse/mime/fingergun, /obj/item/spellbook/oneuse/mime/fingergun/fake, /obj/item/spellbook/oneuse/mime/greaterwall)
1154+
var/static/list/banned_spells = typesof(/obj/item/spellbook/oneuse/mime, /obj/item/spellbook/oneuse/emp)
11551155
var/real_type = pick(subtypesof(/obj/item/spellbook/oneuse) - banned_spells)
11561156
new real_type(loc)
11571157
qdel(src)

0 commit comments

Comments
 (0)