Attack and protection artifacts limited to 3 paperdoll slots.
Contributed by nasseka.
This commit is contained in:
@ -2336,7 +2336,7 @@ public abstract class Inventory extends ItemContainer
|
||||
{
|
||||
for (int i = PAPERDOLL_ARTIFACT13; i < (PAPERDOLL_ARTIFACT13 + slotNumber); i++)
|
||||
{
|
||||
if (_paperdoll[i] == null)
|
||||
if ((i <= PAPERDOLL_ARTIFACT15) && (_paperdoll[i] == null))
|
||||
{
|
||||
setPaperdollItem(i, item);
|
||||
return;
|
||||
@ -2348,7 +2348,7 @@ public abstract class Inventory extends ItemContainer
|
||||
{
|
||||
for (int i = PAPERDOLL_ARTIFACT16; i < (PAPERDOLL_ARTIFACT16 + slotNumber); i++)
|
||||
{
|
||||
if (_paperdoll[i] == null)
|
||||
if ((i <= PAPERDOLL_ARTIFACT18) && (_paperdoll[i] == null))
|
||||
{
|
||||
setPaperdollItem(i, item);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user