These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: Latest as of 06/1/23
- GAME PLATFORM: Steam
- OPERATING SYSTEM: Windows 10
Since the last update, modify attribute and xsEffectAmount are bugged. “Set” does not set an attack value, it performs an addition.
The same is true in xsEffectAmount (and the multiplier you need to use has changed to 256 from 65535 as far as I can see)
NB. Change object attack trigger effect appears to work.
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:
- Make a trigger effect using modify attributes and attack or armour as the target attribute and a SET command, or use this code (tested using an archer):
xsEffectAmount(cSetAttribute, 4, cAttack, 3*256 + 50);
What was SUPPOSED to happen if the bug you encountered were not present?
The attack class should be set to the corresponding value, not added to the existing value.
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
Image not relevant
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.