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;