Fixed Gate Chant (1429) summoning.
This commit is contained in:
@@ -177,8 +177,7 @@ public class SummonFriend implements ISkillHandler
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Summon friend.
|
if (skill.getId() == 1403 /* Summon Friend */)
|
||||||
if (skill.getId() == 1403)
|
|
||||||
{
|
{
|
||||||
// Send message.
|
// Send message.
|
||||||
final ConfirmDlg confirm = new ConfirmDlg(SystemMessageId.S1_WISHES_TO_SUMMON_YOU_FROM_S2_DO_YOU_ACCEPT.getId());
|
final ConfirmDlg confirm = new ConfirmDlg(SystemMessageId.S1_WISHES_TO_SUMMON_YOU_FROM_S2_DO_YOU_ACCEPT.getId());
|
||||||
@@ -188,6 +187,10 @@ public class SummonFriend implements ISkillHandler
|
|||||||
confirm.addRequesterId(activePlayer.getObjectId());
|
confirm.addRequesterId(activePlayer.getObjectId());
|
||||||
targetPlayer.sendPacket(confirm);
|
targetPlayer.sendPacket(confirm);
|
||||||
}
|
}
|
||||||
|
else if (skill.getId() == 1429 /* Gate Chant */)
|
||||||
|
{
|
||||||
|
targetPlayer.teleportAnswer(1, activePlayer.getObjectId());
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Player.teleToTarget(targetPlayer, activePlayer, activePlayer.getLocation(), skill);
|
Player.teleToTarget(targetPlayer, activePlayer, activePlayer.getLocation(), skill);
|
||||||
|
Reference in New Issue
Block a user