MaxHP

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
Exar Kun
Novice Poster
Posts: 42
Joined: Wed Apr 19, 2006 12:29 pm

MaxHP

Post by Exar Kun »

Does the assignment of this prop happen in the core? Looking around, I can see that only weapons and armor have this element listed in their config descriptions.

Thanks.
Marilla

Post by Marilla »

When an armor/weapon item is created, its MaxHP member is set to the config setting. and it ReadOnly. You can use the MaxHP_Mod member to adjust it from script, but you can't alter the MaxHP member itself.
Exar Kun
Novice Poster
Posts: 42
Joined: Wed Apr 19, 2006 12:29 pm

Post by Exar Kun »

Thanks, Marilla. That's consistent with what I've tried through the .iteminfo interface.

Okay, let me re-ask then; that is a core function?

I want to add the same props to all usable items so everything decays with use over time. Do I just need to write my own code to handle with with CProps?
Post Reply