serverspecopt setting question: DefaultAttributeCap

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Distro Developer
Posts: 2767
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas

serverspecopt setting question: DefaultAttributeCap

Post by Yukiko » Sat Aug 19, 2017 12:02 am

If I understand correctly this is the default cap per attribute in tenths (setting it to 1000 == 100.0) and not the aggregate of all attributes. This is what seems to be indicated by Core changes. Is my understanding correct?

From core-changes.txt:

Code: Select all

03-17-2009 Nando:
    Added:   New ssopt option: DefaultAttributeCap (default 1000), defines
             which value POL should use as cap for attributes.
    Added:   New attributes.cfg option: DefaultCap (default DefaultAttributeCap),
             to set the default for each attribute.
    Added:   GetAttributeCap(who, attr), SetAttributeCap(who, attr, capvalue) and
             GetAttributeDefaultCap(attr). The names should explain it all.
     Note:   Caps are defined in tenths (100.0 -> 1000, 55.2 -> 552), same as 
             base values.

Post Reply