# Modify Attribute (Attack) doesnt work on Buildings (Castles)

**URL:** <https://forums.ageofempires.com/t/modify-attribute-attack-doesnt-work-on-buildings-castles/109161>\
**Category:** II - Report a Bug\
**Created:** [November 22, 2020, 10:22am UTC](https://forums.ageofempires.com/t/modify-attribute-attack-doesnt-work-on-buildings-castles/109161 "2020-11-22T10:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BouffantBloom32](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/bouffantbloom32/32/30879_2.png) [@BouffantBloom32](https://forums.ageofempires.com/u/BouffantBloom32)\
**Post date:** [November 22, 2020, 10:22am UTC](https://forums.ageofempires.com/t/modify-attribute-attack-doesnt-work-on-buildings-castles/109161/1 "2020-11-22T10:22:19Z")

</div>

### ▶ GAME INFORMATION

- \*\*BUILD #:
- **PLATFORM:** Steam /
- **OS:** Windows 10 /

### ▶ ISSUE EXPERIENCED

❓ _DESCRIBE THE ISSUE IN DETAIL (below). Limit to ONE issue per thread._

Castles do not get Attack from Modify Attribute, includes very likely ALL Buildings

### ▶ FREQUENCY OF ISSUE

❓ _How often does the issue occur? CHOSE ONE; DELETE THE REST._

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

### ▶ REPRODUCTION STEPS

❓ _List the DETAILED STEPS we can take to reproduce the issue… Be descriptive!_

Here’s the steps to reproduce the issue:

1. Create a New Scenario
2. Place a Castle and a few enemy units
3. Create a Trigger with Modify Attribute, Choose Attack as Object Attribute
4. Choose Attack
5. Use Set, Multiply, Add or Divide
6. Set any Value
7. The Castle doesn’t change at all

### ▶ GAME FILES

❓ _Include a [OneDrive or Google Drive link](https://forums.ageofempires.com/t/how-to-find-and-share-save-game-and-recorded-game-files/84162) to a SAVE GAME or REPLAY FILE (.aoe2record) of the match where you encountered the issue._

- 

### ▶ IMAGE & ATTACHMENTS

❓ _Attach a relevant PICTURE (.jpg, .png, .gif), VIDEO (.mp4, YouTube), DXDIAG FILE (.txt), or [CRASH/GAME LOGS (.aoe2record, .txt)](https://forums.ageofempires.com/t/how-to-find-and-share-save-game-and-recorded-game-files/84162) below._

-

---

<div class="post-metadata">

**Author:** ![Bassefrom](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/bassefrom/32/31558_2.png) [@Bassefrom](https://forums.ageofempires.com/u/Bassefrom)\
**Post date:** [November 22, 2020, 10:43am UTC](https://forums.ageofempires.com/t/modify-attribute-attack-doesnt-work-on-buildings-castles/109161/2 "2020-11-22T10:43:51Z")

</div>

You need to select which attack type to modify. For ranged units, it’s generally Armor/Attack Type 3, and melee (and siege) it’s 4. So to change attack of a castle, use Attack Type 3, like this:

 ![modifyAttackCastleTrigger](https://cdn.ageofempires.com/aoe-forums/original/3X/6/c/6ce3a23b25f7bc469891b406eb51c2ecc0648346.jpeg)

And in game it will result in this:

 ![modifyAttackCastle](https://cdn.ageofempires.com/aoe-forums/original/3X/8/e/8eb4461eed41249b2ba9c26415246caa9eb5b854.jpeg)

---

<div class="post-metadata">

**Author:** ![BouffantBloom32](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/bouffantbloom32/32/30879_2.png) [@BouffantBloom32](https://forums.ageofempires.com/u/BouffantBloom32)\
**Post date:** [November 22, 2020, 11:56am UTC](https://forums.ageofempires.com/t/modify-attribute-attack-doesnt-work-on-buildings-castles/109161/3 "2020-11-22T11:56:52Z")

</div>

Dude you are a life savor, tho I swore it didnt work for me when i tried it, I will join the Discord. Thanks  
Is there anyway to surpass the 255 Attack Limit (Yes i could add, but i need a fixed Value)
