¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

No importa de donde vengas, lo importante es que gracias a ti, ¡podremos mejorar!

Navegación
Navegación
PortalForoPerfilNormas
BuscarAfíliateAfíliate
Navegación

Votación en Hispatop.com
Canal Youtube
Facebook

2 participantes

    mirar esto

    avatar
    pekass

    mirar esto Uno10


    Licencia : No
    Servidor : l2-divinity
    Mensajes7
    Adena14648
    Karma0
    Fecha de inscripción : 19/12/2010

    mirar esto Empty mirar esto

    Mensaje por pekass Lun Dic 27, 2010 12:15 pm

    Title describing your problem.
    Char stops attacking, need to move&attack or use skill.
    L2NET Version
    388
    L2NET Data Pack Version
    387
    L2NET Map Pack Version
    385
    Paste your code.
    FUNCTION HALT_CHECK
    DEFINE INT move_x 0
    DEFINE INT move_y 0
    DEFINE INT move_z 0

    WHILE CHAR_CUR_HP > 0
    IF "stuffs here"
    move_x = char_x + #i1
    move_y = char_y + #i1
    move_z = char_z
    MOVE_TO "<&move_x&>" "<&move_y&>" "<&move_z&>"
    SLEEP 100
    ATTACK_TARGET
    ENDIF
    SLEEP 500
    WEND
    RETURN VOID
    Detailed Information
    After a mob uses a skill like Shock or a skill to make you stop attacking, you char stops attacking even after debuff (altered state) has passed.
    Pressing the attack button won't help (char will do nothing) only fix is either moving+attack again, or use a skill.

    I'm having trouble figuring out getting a script to detect when the char has stopped attacking (not shocked), haven't looked into DLIB much yet, but I'm sure that can detect the Shock debuff-animation (then move+attack/use skill).
    avatar
    chewy

    mirar esto Dos10


    Servidor : Searching...
    Mensajes18
    Adena14806
    Karma0
    Fecha de inscripción : 03/11/2010
    Edad : 37

    mirar esto Empty Re: mirar esto

    Mensaje por chewy Miér Dic 29, 2010 6:04 pm

    Y esa script para que sirve?? haber si puedes poner para que funcion es..

      Fecha y hora actual: Vie Abr 26, 2024 6:13 pm