Ai.obj AddAttackDesire

Lineage2Interlude

Свой человек
Участник
Сообщения
81
Розыгрыши
0
Репутация
0
Реакции
10
Баллы
560
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;
 

myself::AddUseSkillDesire(myself.c_ai0, @SKILL, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 );
myself.i_ai0 = 0;
 
Hm.. where i need to add this skill?
 
Oks its perfect, but the skill is given to all players near.
 
What u want? Add skill to all players, or just cast it?
 
1 ai.obj to give 1 skill and remove it
 
And how?) Player did bsoe or just relogin and save ur skill.
 
Назад
Сверху Снизу