Wizard mind transfer attack log.

Adds an attack log for the wizard mind transfer.
This commit is contained in:
PsiOmega
2015-03-27 09:06:28 +01:00
parent c85e1ce786
commit 633db48082
2 changed files with 12 additions and 4 deletions

View File

@@ -57,6 +57,8 @@ Also, you never added distance checking after target is selected. I've went ahea
var/mob/caster = user//The wizard/whomever doing the body transferring.
//SPELL LOSS BEGIN
admin_attack_log(caster, victim, "Used mind transfer on", "Had mind transfer used on him by", "used mind transfer on")
//NOTE: The caster must ALWAYS keep mind transfer, even when other spells are lost.
var/obj/effect/proc_holder/spell/targeted/mind_transfer/m_transfer = locate() in user.spell_list//Find mind transfer directly.
var/list/checked_spells = user.spell_list