Ensoul rearrangement after extraction.
This commit is contained in:
parent
0e81dc3620
commit
f2301bcc61
@ -2191,6 +2191,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2191,6 +2191,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2191,6 +2191,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2191,6 +2191,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2189,6 +2189,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2189,6 +2189,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2189,6 +2189,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
@ -2189,6 +2189,18 @@ public final class L2ItemInstance extends L2Object
|
||||
{
|
||||
removeSpecialAbility(option);
|
||||
_ensoulOptions.remove(position);
|
||||
|
||||
// Rearrange.
|
||||
if (position == 0)
|
||||
{
|
||||
final EnsoulOption secondEnsoul = _ensoulOptions.get(1);
|
||||
if (secondEnsoul != null)
|
||||
{
|
||||
removeSpecialAbility(secondEnsoul);
|
||||
_ensoulOptions.remove(1);
|
||||
addSpecialAbility(secondEnsoul, 0, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user