[quote=“ejseto, post:17, topic:1894”]Heh, for some reason they burn flesh better than paper.
if (z.made_of(“veggy”) || z.made_of(“cotton”) || z.made_of(“wool”) ||
z.made_of(“paper”) || z.made_of(“wood”))
z.add_effect(ME_ONFIRE, rng(6, 6));
else if (z.made_of(“flesh”))
z.add_effect(ME_ONFIRE, rng(10, 10));
You don’t need to use rng() if both numbers are the same btw.
Come to think of it, are there even any monsters made of cotton, wool, or paper?[/quote]
flesh targets doesn’t seem to burn that easily so I gave it a higher range. those veggy monsters seem to die fast before 6 six turns though. It’s basically a copy from incendiary effects, I’m not sure about monsters made of cotton,wool or paper maybe they are planning to those types? or it could also be based on armor being worn by you/npc’s