Ai.obj AddAttackDesire

Lineage2Interlude

Последний из атеистов
Местный
Сообщения
89
Розыгрыши
0
Репутация
0
Реакции
10
Баллы
860
Hello. How i can add a debuff skill or just a skill after the myself::AddAttackDesire( myself.c_ai0, 1, 10000 ); and then to be removed after the myself.i_ai0 = 1;

Код:
myself::InstantTeleport( myself.sm, myself::FloatToInt( myself.c_ai0.x ), myself::FloatToInt( myself.c_ai0.y ), myself::FloatToInt( myself.c_ai0.z ) );
myself::AddUseSkillDesire( myself.c_ai0, 518401, 0, 1, 1000000 );
myself::AddAttackDesire( myself.c_ai0, 1, 10000 );
myself::AddTimerEx( 4444, 60000 );
myself.i_ai0 = 1;
 

Hm.. where i need to add this skill?
 
Oks its perfect, but the skill is given to all players near.
 
1 ai.obj to give 1 skill and remove it
 
Назад
Сверху