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).
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).