KhymChanur: In ToME3, it should be possible to give monsters passive attacks, attacks which happen when you hit the monster with a melee weapon (or bare handed). ToME2 currently has something like that, with monsters that are surounded by flames, and you take fire damage when attacking them. This should be generalized so that monsters can give any type of damage with a passive attack, and so the amount of damage delivered can be controlled on a case-by-case basis, rather than being strictly dependant on monster level.

DarkGod: Yup I intend to do that when I get the chance, but feel free :) I guess a flag containing a list of attacks would work just fine

KhymChanur: Just finished this. I made a very generalizable system in the engine, having a function be called when a monster blow or a weapon hits something, and then used that to implement auras in the ToME module. It can also be used to do things like the shatter-or-disenchant thing when hitting a Ringwraith. (Don't think it works with barehanded combat yet, though)

IdeaArchive/Monsters/Generalized passive attacks (last edited 2006-05-19 06:12:19 by KhymChanur)