A new attempt is about to come to naught

:arrow_forward: GAME INFORMATION

:point_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: ######
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

:point_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
Units whose species are livestock cannot be converted to 0 health through xs. This feature was little known before the version update. I used this feature to make amazing results. But now it’s fixed, and there’s currently no other way to replace it.

:arrow_forward: FREQUENCY OF ISSUE

:point_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

:point_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

1.Place a sheep of Mother Earth on the map
2. Use the script to call the following code,The trigger starts the loop
This function means:
When the player obtains a sheep, it will instantly kill the sheep, eliminating the subsequent effects
void test()
{
int a=xsGetObjectCount(1,594);
if(a>=1)
{
xsEffectAmount(0,594,0,0,1);
xsChatData(“test”);
}
}
3.Use units to capture sheep
4.You will find that sheep will not be killed, which would have been dead in previous versions

:arrow_forward: EXPECTED RESULT

:point_down: What was SUPPOSED to happen if the bug you encountered were not present?
This feature is very important for the RPGs I make, which allows players to exchange equipment between each other

:arrow_forward: IMAGE

:point_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
My work before the game was updated

The part of the red arrow in the image is the source of the code failure, and the converted livestock can no longer be killed

:arrow_forward: GAME FILES (SAVE / RECORDING)

:point_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.

*If the problem cannot be solved retrospectively. I hope that in future updates, a function to delete or kill units will be added to xs. Or add an option to de-separate the converted unit

Additional instructions
This project does not work correctly in version 93001
This project works fine in version 90260