Sync with L2jServer HighFive Dec 21st 2015.
This commit is contained in:
@@ -55,7 +55,7 @@ public final class DispelBySlotProbability extends AbstractEffect
|
||||
for (String ngtStack : _dispel.split(";"))
|
||||
{
|
||||
String[] ngt = ngtStack.split(",");
|
||||
_dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), Short.MAX_VALUE);
|
||||
_dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), (ngt.length > 1) ? Short.parseShort(ngt[1]) : Short.MAX_VALUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -57,6 +57,7 @@ public final class ServitorShare extends AbstractEffect
|
||||
for (L2Summon summon : info.getEffected().getActingPlayer().getServitors().values())
|
||||
{
|
||||
summon.broadcastInfo();
|
||||
summon.getStatus().startHpMpRegeneration();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,6 +82,14 @@ public final class ServitorShare extends AbstractEffect
|
||||
{
|
||||
for (L2Summon summon : info.getEffected().getActingPlayer().getServitors().values())
|
||||
{
|
||||
if (summon.getCurrentHp() > summon.getMaxHp())
|
||||
{
|
||||
summon.setCurrentHp(summon.getMaxHp());
|
||||
}
|
||||
if (summon.getCurrentMp() > summon.getMaxMp())
|
||||
{
|
||||
summon.setCurrentMp(summon.getMaxMp());
|
||||
}
|
||||
summon.broadcastInfo();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user