*/
@Override
protected void onEvtTimer(int timerId, Object arg1, Object arg2)
{
super.onEvtTimer(timerId, arg1, arg2);
final Reflection r = getActor().getReflection();
if (!(r instanceof MemoryOfDisaster))
{
return;
}
final MemoryOfDisaster ad = (MemoryOfDisaster) r;
switch (timerId)
{
case 1:
Functions.npcSayInRange(getActor(), 1500, NpcString.MM_IM_SEE);
final List<NpcInstance> list = r.getAllByNpcId(TOROCCO_ID, true);
if (list.size() > 0)
{
final NpcInstance torocco = list.get(0);
torocco.getAI().notifyEvent(CtrlEvent.EVT_SCRIPT_EVENT, "TOROCCO_1");
}