Help understanding monster_attacks


Creating new monster_attacks. Couldn’t find documentation on these specific questions and couldn’t understand the code.

Could someone explain how armor_penetration and armor_multiplier work? Within a monster_attack, I mean. I played with it a lot but it had no obvious effect.

Also, can you not set a minimum damage for attacks? You can set “damage_max_instance”, which determines the max damage, but “damage_min_instance” doesn’t do anything obvious that I could see. Is the minimum damage always just 1? When damage_max_instance is set to include multiple damage types it still seems to be 1. IE: If the attack deals a max of 5 blunt and 5 piercing, you’d think it would deal a minimum of 2 damage, 1 of each. But it seems to deal only 1 point of an undetermined type.


I believe armor_multiplier does exactly what it implies: multiplies the players armor value by armor_value before calculating the damage of the attack. So if you have 12 bash_armor and 14 cut_armor and get attacked with an attack with armor_multiplier 0.5 the game would calculate the damage as if you had 6 bash_armor and 7 cut_armor.

I’m not 100% sure it works the way I described, so take the above with a grain of salt.


I have done some experimenting with armor_penetration and armor_multiplier and seems like the former reduces your armor value by a flat amount while the latter works as I described above.


The only thing armor_penetration related to monsters I can think of is the Predator Zombies’ torso attack, which ignores armor.

No clue about armor_multiplier… Maybe check military zombies for it? Or this might have something to do with skeleton zombies and their cutting resistance.


Alright. That makes sense. This is sort of what I expected was the answer, but I really wanted to be sure. I’d rather learn something for sure than figure it all out and be wrong.

Thanks for your inputs.

I’m still curious about minimum damage, though. If the minimum damage is always one, but the attack consists of multiple types of damage, how does it choose which damage type to deliver?

Although . . . I guess it doesn’t really matter, does it? It’s just one point of damage – it’s not like people die everyday to 1 hp loss. I’ma just mark your post as the solution.