Target corpse ally should include dead characters.
This commit is contained in:
parent
3bc2bd9456
commit
96c3ededeb
@ -2065,7 +2065,7 @@ public abstract class Skill
|
||||
final int radius = _skillRadius;
|
||||
final PlayerInstance player = (PlayerInstance) creature;
|
||||
final Clan clan = player.getClan();
|
||||
if (_targetType != SkillTargetType.TARGET_CORPSE_ALLY) // if corpose, the caster is not included
|
||||
if (_targetType != SkillTargetType.TARGET_CORPSE_ALLY) // if corpse, the caster is not included
|
||||
{
|
||||
if (player.isInOlympiadMode())
|
||||
{
|
||||
@ -2089,7 +2089,7 @@ public abstract class Skill
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (newPlayer.isDead())
|
||||
if (newPlayer.isDead() && (_targetType != SkillTargetType.TARGET_CORPSE_ALLY))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -2066,7 +2066,7 @@ public abstract class Skill
|
||||
final int radius = _skillRadius;
|
||||
final PlayerInstance player = (PlayerInstance) creature;
|
||||
final Clan clan = player.getClan();
|
||||
if (_targetType != SkillTargetType.TARGET_CORPSE_ALLY) // if corpose, the caster is not included
|
||||
if (_targetType != SkillTargetType.TARGET_CORPSE_ALLY) // if corpse, the caster is not included
|
||||
{
|
||||
if (player.isInOlympiadMode())
|
||||
{
|
||||
@ -2090,7 +2090,7 @@ public abstract class Skill
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (newPlayer.isDead())
|
||||
if (newPlayer.isDead() && (_targetType != SkillTargetType.TARGET_CORPSE_ALLY))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user