mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Fixes wizard end-round spell listing
Wizard spells are now stored in their mind, not in their mob
This commit is contained in:
@@ -257,12 +257,12 @@
|
||||
else
|
||||
text += "<br><font color='red'><B>The wizard has failed!</B></font>"
|
||||
feedback_add_details("wizard_success","FAIL")
|
||||
if(wizard.current && wizard.current.spell_list)
|
||||
if(wizard.spell_list)
|
||||
text += "<br><B>[wizard.name] used the following spells: </B>"
|
||||
var/i = 1
|
||||
for(var/obj/effect/proc_holder/spell/wizard/S in wizard.current.spell_list)
|
||||
for(var/obj/effect/proc_holder/spell/wizard/S in wizard.spell_list)
|
||||
text += "[S.name]"
|
||||
if(wizard.current.spell_list.len > i)
|
||||
if(wizard.spell_list.len > i)
|
||||
text += ", "
|
||||
i++
|
||||
text += "<br>"
|
||||
|
||||
Reference in New Issue
Block a user