kts.ZombifyActor – turn the current actor into a monster
kts.ZombifyActor(monster_type)
If the current actor (as given by cxt.actor
) is a knight, they are turned into a monster of the given MonsterType.
This counts as "killing" the knight, and any items they were carrying are dropped. No corpse is created.
None.
Even though the function is called "Zombify", this can actually be used to turn knights into any kind of monster, not just zombies.
Only knights can be affected by this function – other types of creatures are immune.
Knights are affected even if they have Invulnerability.
This is one of the possible pentagram or scroll effects; see magic.lua.