These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: 93001 At the time of accession to Rome, it did not come into force
- GAME PLATFORM: Steam
- OPERATING SYSTEM: Windows 10
DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
The part of the xsEffectAmount() function in the xs script about changing tech fees doesn’t work.
It can only change the existing price data, it cannot add another resource.
Changing the tech cost in the editor can add new resource items.
How often does the issue occur? CHOSE ONE; DELETE THE REST!
- 100% of the time / matches I play (ALWAYS)
List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!
Here’s the steps to reproduce the issue:
- Place a town center
- Use the script to call the following code
What this code does is change the cost of food, wood, and stone for player 1 loom
3.Test the map to see how much the loom costs
4.Use the following code to change the gold fee for Player 1 loom
5.It can be seen that this function can only change the existing data, and cannot add new spending items
What was SUPPOSED to happen if the bug you encountered were not present?
The cost of a unit can be added to a new spend type through the xs function, but the technology does not, which is not fair
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
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.