Quest Request of the Seeker (10363).

Contributed by spider.
This commit is contained in:
MobiusDev
2015-08-12 12:48:47 +00:00
parent cd6d0d7188
commit d5a85ec14c
18 changed files with 391 additions and 68 deletions

View File

@ -18,6 +18,7 @@
*/
package com.l2jserver.gameserver.model.events.impl.character.npc;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.events.EventType;
import com.l2jserver.gameserver.model.events.impl.IBaseEvent;
@ -29,9 +30,11 @@ public class OnNpcSocialActionSee implements IBaseEvent
{
private final L2PcInstance _caster;
private final int _actionId;
private final L2Npc _npc;
public OnNpcSocialActionSee(L2PcInstance caster, int actionId)
public OnNpcSocialActionSee(L2Npc npc, L2PcInstance caster, int actionId)
{
_npc = npc;
_caster = caster;
_actionId = actionId;
}
@ -46,6 +49,11 @@ public class OnNpcSocialActionSee implements IBaseEvent
return _actionId;
}
public L2Npc getNpc()
{
return _npc;
}
@Override
public EventType getType()
{