chars maxweight?

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

chars maxweight?

Post by BELL »

who.backpack.maxweight := GetBaseStrength(who) * 3;

this dont work (
what im may set the character maxweight?
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am

Post by Harley »

config/itemdesc.cfg :

Code: Select all

Container 0x0E75
{
    Name                Backpack
    desc                backpack
    Gump                0x003C
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    VendorSellsFor      18
    VendorBuysFor       9
    dyeable             1
    MaxItems            200
    MaxWeight           600
    weight              1
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Post by BELL »

Harley wrote:config/itemdesc.cfg :

Code: Select all

Container 0x0E75
{
    Name                Backpack
    desc                backpack
    Gump                0x003C
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    VendorSellsFor      18
    VendorBuysFor       9
    dyeable             1
    MaxItems            200
    MaxWeight           600
    weight              1
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}
im can set maxweigth dynamycally for any characters, is dependent on str/dex????
Post Reply