I personally believe that the only thing worse then a zombie is a burning zombie. Every horror movie teaches you that
But it was not a surprise that your cook was the emberlight, I had to grin when I read the natural skill in the emberlight raws...
PS: Thanks, I did not even know about that bug. After reading it I am so bold to add that it might be the same for transformed creatures. A creature without a tag that has been transformed into a creature with that tag will not be a valid target for the IT_REQUIRES:TAG. This is untested however.
PPS: My english is weird sometimes, after reading the sentence above I confused myself. I hope you understand what I wanted to say.
Two things. First, in response to the bold, I've actually tested that and found that this is NOT the case - it works
as intended when using a transformation, just
not with add/remove tag effects.
---
Now... the really exciting part.
I learned something really, really bizarre through performing some !!SCIENCE!!
I already know how to resurrect a dwarf and restore him/her to full health, but since this relies on a transformation, I figured that the full heal effect wouldn't work on a dwarf that had already been transformed. However, since the resurrection effect is different, I thought I'd give that a spin.
What I did was create a test interaction that allows a dwarf to permanently turn itself into an emberlight warrior. I then gave another (fireproof) dwarf a test interaction with only a resurrect effect... and an adamantine great axe. Controlling the second dwarf, I walked over to the first dwarf after he had transformed himself to an emberlight and lobbed his head off. After letting the head roll to a stop and stepping back a few paces, I revived the dwarf with the test resurrect skill. He awoke, arose, and I was able to see that his injuries were still persistant, as was his transformation to an emberlight warrior, and because he was missing his head, he died (again) a frame later. This is all going very much how I had expected.
Here, though, is where things got interesting. For the hell of it, I got rid of my test axedwarf (encased in obsidian) and spawned a dwarven spirit binder, which I immediately took control of.
Since spirit binders are a feature of LFR that currently isn't working outside of arena mode, I'll go ahead and explain. I've since managed to get these working and running in world gen, so you'll see them in the next release, but the gist of it is that a secret can be learned that imparts a sentient creature with the ability to heal itself completely and resurrect/fully heal others. Here's how that particular interaction works...
[INTERACTION:REZ_GENERAL_LFR]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_AFFECTED_CLASS:OLD_GOD_LFR]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_CANNOT_HAVE_SYNDROME_CLASS:HEAL_LFR]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:revival shock]
[SYN_CLASS:HEAL_LFR]
[CE_BODY_TRANSFORMATION:START:0:END:2]
[CE:CREATURE:WILL_O_WISP_LFR:FEMALE]
[CE_SPEED_CHANGE:SPEED_PERC:0:START:0:END:1000]
The interaction resurrects the target and immediately turns it into a will o' wisp, healing all of its wounds when it changes back almost instantly (I chose the will o' wisp because it looks damn cool when you cast it). I assumed, since I was attempting to resurrect a creature that was already under the effect of a permanent transformation syndrome, I would get the same results as before - it would get up, realize it was missing its head, and instantly die again.
Here's the thing though -
I was wrong.Instead of the expected result, the resurrect effect - COMPLETE WITH THE WILL O' WISP TRANSFORMATION - worked. The dwarf got up, turned into a will o wisp, regenerated all of its body parts, reverted to a dwarf, and then immediately reverted to a (fully alive and healed) emberlight warrior. In a sense, I had just done a transformation over another transformation - something I was convinced could not be done.
---
Here's how
(I think) it works - when a transformed dwarf dies, their corpse reverts to being a regular dwarf despite any transformation syndromes. However, since syndromes persist through death, the transformation effect is still very much there, but not able to work because the target isn't alive. When the dwarf was resurrected with the spirit binder's spell, the resurrect effect immediately added the syndrome that turns it into a will o' wisp, turning it into a will o' wisp before the existing emberlight transformation could kick in and turn it back into an emberlight - my guess is that the IE_IMMEDIATE tag was checked first. So, a frame later, the emberlight transformation syndrome realized that its target was alive again and queued itself back up, turning the dwarf into an emberlight warrior again as soon as the will o' wisp transformation effect ended.
I had resurrected and fully healed a dwarf already under the effects of a transformation through a loophole in the way the game handles death and transformations.What does this mean? It means Paragons of Visthel are going to kick all sorts of ass, for one, but more importantly, it means that you can fully revive a dead transformed creature. I imagine that this knowledge will prove quite valuable to other modders who want to write their own secrets, curses, and magical abilities. So yeah, unfortunately, you still won't be able to heal a transformed creature with a short transform interaction while it's alive, but you CAN if it dies. Pretty sweet, eh?