Resist and damage members

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.
Post Reply
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Resist and damage members

Post by Yukiko »

I am a little slow sometimes. So I have a few questions about character and item members such as "resist_cold" and "damage_cold".

When a character/NPC has its damage_cold member set to say 10 does this mean that its intrinsic weapon, say wrestling, does 10% of whatever the calculated damage is as cold damage or that 10% of the calculated damage it does is added as cold damage to the effective damage? In otherwords is it 100% of the calculated damage with 10% of that being cold or is it 110% with the extra 10% being cold damage? I am assuming that the member value is a percentile and that the value and modifier applies to the intrinsic weapon.

Now do these same members on non-equip-able items do anything? I was thinking that it might be interesting to have them actually be useful. For example if you have an ice wall it would naturally be resistant to cold damage or maybe have ice or snow do cold damage to characters when they walk on it based on the cold_damage member.
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Resist and damage members

Post by Tomi »

resist & damage members are just stored in core, core doesnt implement them into combat or such ( all the has to be done in scripts )
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Resist and damage members

Post by Yukiko »

Ah naturally. I warned you I'm a little slow. I'll look at the combat scripts in the Distro to see how it's implemented then, if it's implemented at all that is.
Post Reply