server-master/srcs/_plugins/WingsEmu.Plugins.BasicImplementation/NpcDialogs/SP5_SP6/WatterGrotoHandler.cs
2026-02-10 18:21:30 +01:00

33 lines
No EOL
862 B
C#

using System.Threading.Tasks;
using WingsEmu.Game._NpcDialog;
using WingsEmu.Game._NpcDialog.Event;
using WingsEmu.Game.Networking;
using WingsEmu.Packets.Enums;
namespace WingsEmu.Plugins.BasicImplementations.NpcDialogs.SP5_SP6;
public class WatterGrotoHandler : INpcDialogAsyncHandler
{
public NpcRunType[] NpcRunTypes => new[] { NpcRunType.ENTER_TO_WATTER_GROTO };
public async Task Execute(IClientSession session, NpcDialogEvent e)
{
/*INpcEntity npcEntity = session.CurrentMapInstance.GetNpcById(e.NpcId);
if (npcEntity == null)
{
return;
}
if (session.CantPerformActionOnAct4())
{
return;
}
if (!session.CurrentMapInstance.HasMapFlag(MapFlags.IS_BASE_MAP))
{
return;
}
session.ChangeMap(2587, 35, 14);*/
}
}