change damage type on monsters

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

change damage type on monsters

Post by zadkielmodeler »

Well the title says it all. That's what I want to do.
I already know how to edit monsters.lua but, I am not sure what line to add to change their damage type.
I am assuming that the damage types are the same as the immunities for the most part.
User avatar
crisman
Posts: 305
Joined: Sat Sep 22, 2012 9:23 pm
Location: Italy

Re: change damage type on monsters

Post by crisman »

I've never done this, but I think the best thing to try is to create a onDealDamage hook in the monster definition and add a champion:damage(amount, type) script to it.
Post Reply