Fixed Gate Chant (1429) summoning.
This commit is contained in:
parent
5c02ae63e3
commit
1241e08fc1
@ -177,8 +177,7 @@ public class SummonFriend implements ISkillHandler
|
||||
continue;
|
||||
}
|
||||
|
||||
// Summon friend.
|
||||
if (skill.getId() == 1403)
|
||||
if (skill.getId() == 1403 /* Summon Friend */)
|
||||
{
|
||||
// Send message.
|
||||
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());
|
||||
targetPlayer.sendPacket(confirm);
|
||||
}
|
||||
else if (skill.getId() == 1429 /* Gate Chant */)
|
||||
{
|
||||
targetPlayer.teleportAnswer(1, activePlayer.getObjectId());
|
||||
}
|
||||
else
|
||||
{
|
||||
Player.teleToTarget(targetPlayer, activePlayer, activePlayer.getLocation(), skill);
|
||||
|
Loading…
Reference in New Issue
Block a user