Prevent adding effects on dead creatures.
This commit is contained in:
@@ -735,6 +735,12 @@ public final class CharEffectList
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||||
|
if (info.getEffected().isDead())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (info.getSkill() == null)
|
if (info.getSkill() == null)
|
||||||
{
|
{
|
||||||
// Only options are without skills.
|
// Only options are without skills.
|
||||||
|
@@ -735,6 +735,12 @@ public final class CharEffectList
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||||
|
if (info.getEffected().isDead())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (info.getSkill() == null)
|
if (info.getSkill() == null)
|
||||||
{
|
{
|
||||||
// Only options are without skills.
|
// Only options are without skills.
|
||||||
|
@@ -735,6 +735,12 @@ public final class CharEffectList
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||||
|
if (info.getEffected().isDead())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (info.getSkill() == null)
|
if (info.getSkill() == null)
|
||||||
{
|
{
|
||||||
// Only options are without skills.
|
// Only options are without skills.
|
||||||
|
@@ -735,6 +735,12 @@ public final class CharEffectList
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||||
|
if (info.getEffected().isDead())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (info.getSkill() == null)
|
if (info.getSkill() == null)
|
||||||
{
|
{
|
||||||
// Only options are without skills.
|
// Only options are without skills.
|
||||||
|
Reference in New Issue
Block a user