Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.10.2007, 01:31   #1
Firedaemon
Guest
 
Posts: n/a
Default [share] signet ai for fusion skills

For fusion skills, I am using an NPC which is summoned and than casts an AOE every second for two minutes before despawning. Compiled AI is attached for DC.

Fixed Decompiled Version

class 1 signet : default_npc

{

parameter_define_begin

int AreaOfEffect = 0;

parameter_define_end

handler CREATED ()

{

myself->AddTimerEx(3000, 1000);

myself->AddTimerEx(3001, 120000);

}

handler_end

handler TIMER_FIRED_EX (timer_id)

{

If ( timer_id == 3000 )

{

myself->AddTimerEx(3000, 1000);

myself->AddUseSkillDesire(myself.sm, AreaOfEffect, 0, 1, 1000000);

}

ElseIf ( timer_id == 3001 )

{

myself->Despawn();

}

}

handler_end

}

class_end

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 12 October 2007, 01:31. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:27.