Usable magic spells and etc.
First, make a use_material_template tag on the creature. It's recommended that you use the creature extract template.
Next, like syndromes and etc, name it something like POISON or etc.
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
Once done, add syndromes, temperature differences and the like to that template.
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen etc]
[STATE_ADJ:ALL_SOLID:frozen etc]
[STATE_NAME:LIQUID:etc]
[STATE_ADJ:LIQUID:etc]
[STATE_NAME:GAS:etc]
[STATE_ADJ:GAS:etc]
[PREFIX:NONE]
[MAT_FIXED_TEMP:10508]
[ENTERS_BLOOD] -- remove enters blood because the "spell" will not work otherwise.
[SYNDROME]
[SYN_NAME:insert syndrome name here]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:ETC_CREATURE:ALL]
[SYN_INHALED]
[CE_PARALYSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:20]
Next, attach it to an attack.
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:GAS:100:100]
Note the green colored text. It needs to match the material template's name to work. Also, since the only way for usable spells to work is to inject it, we need to alter the material state when this thing is injected, and attach it to an edged attack.
Duplicate a scratch attack or make an edged attack and attach the [SPECIALATTACK_INJECT_EXTRACT] tag in that attack.
Once that's done, you can use it like a breath attack in adventure mode.
Notes:
There is no possible way to make [FIREIMMUNE] and it's superior counterpart work with artificial firebreath/touch. This means that if the temperature is sufficient, even magma men or dragons will melt. One way to counter that is to add a [FIXED_TEMP] tag in the intended fireproof creature, however, if it's added, it also means that the creature's temperature will stay that way, so no freezing creatures too.
The above note also applies to the user of the firebreath/touch, meaning that if constantly spammed, the user will melt.
If someone wants to create a touch of death spell, then instead of following the instructions posted here, just add [SPECIALATTACK_SUCK_BLOOD:5000:5000] to an edged attack. The creature will die immediately, provided it isn't the size of a full grown dragon.
It is impossible to make an adventure mode usable version of a deadly dust attack.
Finally, the spells will only work if they manage to make a cut somewhere in the victim's body. As far as I know, there isn't any other way to make it work without cutting.