Fixed aoe animations not showing up.
Contributed by Sahar.
This commit is contained in:
parent
9b3c98a2e4
commit
3ed62d5b5a
@ -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
|
// 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
|
// 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 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.
|
// Send a system message to the player.
|
||||||
@ -5381,11 +5382,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!skill.isToggle())
|
|
||||||
{
|
|
||||||
broadcastPacket(new MagicSkillLaunched(this, skill.getDisplayId(), skill.getDisplayLevel(), targets));
|
|
||||||
}
|
|
||||||
|
|
||||||
mut.setPhase(2);
|
mut.setPhase(2);
|
||||||
if (mut.getSkillTime() == 0)
|
if (mut.getSkillTime() == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user