Remove all effects from dead monsters.
This commit is contained in:
@@ -1908,7 +1908,14 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
// Stop HP/MP/CP Regeneration task
|
// Stop HP/MP/CP Regeneration task
|
||||||
getStatus().stopHpMpRegeneration();
|
getStatus().stopHpMpRegeneration();
|
||||||
|
|
||||||
stopAllEffectsExceptThoseThatLastThroughDeath();
|
if (isMonster())
|
||||||
|
{
|
||||||
|
stopAllEffects();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stopAllEffectsExceptThoseThatLastThroughDeath();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
||||||
broadcastStatusUpdate();
|
broadcastStatusUpdate();
|
||||||
|
@@ -1912,7 +1912,14 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
// Stop HP/MP/CP Regeneration task
|
// Stop HP/MP/CP Regeneration task
|
||||||
getStatus().stopHpMpRegeneration();
|
getStatus().stopHpMpRegeneration();
|
||||||
|
|
||||||
stopAllEffectsExceptThoseThatLastThroughDeath();
|
if (isMonster())
|
||||||
|
{
|
||||||
|
stopAllEffects();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stopAllEffectsExceptThoseThatLastThroughDeath();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
||||||
broadcastStatusUpdate();
|
broadcastStatusUpdate();
|
||||||
|
@@ -1912,7 +1912,14 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
// Stop HP/MP/CP Regeneration task
|
// Stop HP/MP/CP Regeneration task
|
||||||
getStatus().stopHpMpRegeneration();
|
getStatus().stopHpMpRegeneration();
|
||||||
|
|
||||||
stopAllEffectsExceptThoseThatLastThroughDeath();
|
if (isMonster())
|
||||||
|
{
|
||||||
|
stopAllEffects();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stopAllEffectsExceptThoseThatLastThroughDeath();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
||||||
broadcastStatusUpdate();
|
broadcastStatusUpdate();
|
||||||
|
@@ -1912,7 +1912,14 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
// Stop HP/MP/CP Regeneration task
|
// Stop HP/MP/CP Regeneration task
|
||||||
getStatus().stopHpMpRegeneration();
|
getStatus().stopHpMpRegeneration();
|
||||||
|
|
||||||
stopAllEffectsExceptThoseThatLastThroughDeath();
|
if (isMonster())
|
||||||
|
{
|
||||||
|
stopAllEffects();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stopAllEffectsExceptThoseThatLastThroughDeath();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
||||||
broadcastStatusUpdate();
|
broadcastStatusUpdate();
|
||||||
|
@@ -1912,7 +1912,14 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
// Stop HP/MP/CP Regeneration task
|
// Stop HP/MP/CP Regeneration task
|
||||||
getStatus().stopHpMpRegeneration();
|
getStatus().stopHpMpRegeneration();
|
||||||
|
|
||||||
stopAllEffectsExceptThoseThatLastThroughDeath();
|
if (isMonster())
|
||||||
|
{
|
||||||
|
stopAllEffects();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stopAllEffectsExceptThoseThatLastThroughDeath();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
|
||||||
broadcastStatusUpdate();
|
broadcastStatusUpdate();
|
||||||
|
Reference in New Issue
Block a user