Fixed aoe animations not showing up.

Contributed by Sahar.
This commit is contained in:
MobiusDevelopment 2019-10-01 12:46:17 +00:00
parent 9b3c98a2e4
commit 3ed62d5b5a

View File

@ -1842,6 +1842,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
// Send a Server->Client packet MagicSkillUser with target, displayId, level, skillTime, reuseDelay
// to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature
broadcastPacket(new MagicSkillUse(this, target, skill.getDisplayId(), skill.getDisplayLevel(), skillTime, reuseDelay));
broadcastPacket(new MagicSkillLaunched(this, skill.getDisplayId(), skill.getDisplayLevel(), targets));
}
// Send a system message to the player.
@ -5381,11 +5382,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
return;
}
if (!skill.isToggle())
{
broadcastPacket(new MagicSkillLaunched(this, skill.getDisplayId(), skill.getDisplayLevel(), targets));
}
mut.setPhase(2);
if (mut.getSkillTime() == 0)
{