Changing Object Attack only applies if the type of attack (Armor class) that is being changed a type of attack that unit already has

:arrow_forward: GAME INFORMATION

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

:arrow_forward: ISSUE EXPERIENCED

In the scenario editor, attemping to use Modify Attribute or Change Object Attack to modify the attack of a unit that does not already possess that type of attack will give no effect. For example, giving Crossbows an attack bonus of +10 against Camels (Armor Class 30) will do nothing in-game, as the Crossbows do not deal any bonus damage to Camels. However, increasing a crossbow’s attack against spearmen (Armor Class 27) by +10 will produce the desired effect, as the Crossbow already has an attack bonus against spearmen.

:arrow_forward: FREQUENCY OF ISSUE

  • 100% of the time (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

Here’s the steps to reproduce the issue:

  1. Create a scenario in the scenario editor.
  2. Place a unit that is capable of attacking.
  3. Use either Modify Attribute or Change Object Attack to give this unit an attack bonus against a given armor class, one that it does not already possess in its base, unmodified form.
  4. Place a enemy unit belonging to the given armor class in step 3.
  5. Attack this unit using your unit. Calculate the damage and note the lack of the trigger-added bonus damage.

:arrow_forward: EXPECTED RESULT

Change Object Attack and Modify Attribute should take into account all possible types of attack, to allow for more customizable triggers and units. Without this bug, a crossbow should be able to deal its stated bonus damage to camels, or Fire Ships dealing extra damage to monks via trigger, and so on.

:arrow_forward: IMAGE

https://youtu.be/FGC1-HlIGW0

:arrow_forward: GAME FILES (SAVE / RECORDING)

*rec.aoe2record (202.4 KB)