Setting "intrinsic" resistances and damages on NPCs

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Setting "intrinsic" resistances and damages on NPCs

Post by Yukiko »

I'm trying to set resistances and damages on NPCs but they don't seem to take when I make the necessary entries in the NPCDesc.cfg file.

According to the POL docs to give an NPC a fire resistance of 10 you add the following to an NPCs template:

Code: Select all

FireResist   10
However when I try to read the resist_fire member for that NPC it returns a value of 0. The same holds true for damages as well.

Any idea what I am doing wrong?

Thanks in advance.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Setting "intrinsic" resistances and damages on NPCs

Post by Yukiko »

Disregard my question. This seems to be working now. I must have made a typo.
Post Reply