This commit is contained in:
parent
b9e4f72708
commit
b2356de9b4
10 changed files with 141 additions and 24 deletions
|
|
@ -190,7 +190,20 @@ namespace Server.Items
|
|||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public override int DefaultMaxWeight { get { if ( Core.ML ) { return 550; } else { return 400; } } }
|
||||
public override int DefaultMaxWeight {
|
||||
get {
|
||||
if ( Core.ML ) {
|
||||
Mobile m = ParentEntity as Mobile;
|
||||
if ( m != null && m.Backpack == this ) {
|
||||
return 550;
|
||||
} else {
|
||||
return base.DefaultMaxWeight;
|
||||
}
|
||||
} else {
|
||||
return base.DefaultMaxWeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Backpack( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue