I've ran into a problem with increasing the damage reduction by the sentry's guardian shield through upgrade and catalog. Through upgrades I am unable to change the "Modify Amount" value, it only shows duration and requirements. (Modify Amount is found in the DamageResponse category.)
I have been successfull in the means of showing this value in the text using a data reference:
<d ref="Behavior,GuardianShield,DamageResponse.ModifyAmount"/>
But I am unable to edit the value using the catalog trigger or through upgrades. Here is what I have tried in the trigger:
Catalog - Set value of Behaviors "GuardianShield" "DamageResponse.ModifyAmount" for player (Triggering player) to "-4"
Catalog - Set value of Behaviors "GuardianShield" "Combat.DamageResponse.ModifyAmount" for player (Triggering player) to "-4"
I recieve the same error (catalog field value thing) with both variations. Before posting this I had read a person's post on a thread, and he said that you are unable to edit values that fall under the "DamageResponse" category. I just want to know if this is true. Otherwise, if you know anyway around this. I would like to know!
My thoughts on possibly working around this if you cannot use the catalog:
(These are unlikely to work, but I think they are possible.)
Using a variable in place of a constant value under "Modify Amount". Then an upgrade or trigger will modify the variable causing the value to change which in turn is pretty much the same thing as directly modifying the value with an upgrade or a catalog. (But that doesn't seem to work.)
If I use the text editor to insert a reference to that field, it gives me <d ref="Behavior,GuardianShield,DamageResponse[0].ModifyAmount[0]"/>. However, this still doesn't work as the catalog field. (It behaves identically to DamageResponse.ModifyAmount without the indices.) So no, it's not possible to modify those values via the catalog or via upgrades.
Unless you manage to mimic the behavior using an effect, the best you can do is make multiple copies of the behavior and change which one your unit uses.
Here are my thoughts on mimicking the behavior using an effect: you can link the damage response to an effect via the Handled field, and make a Modify Unit effect to add 2 to Life, but it would have undesirable effects for attacks which would otherwise hit for less than 2.5 damage. (2 damage would do no damage at all; 1 damage would heal your units.) And if the shield is able to stack, five of them would make any attack less than 10 damage heal your units...
I've ran into a problem with increasing the damage reduction by the sentry's guardian shield through upgrade and catalog. Through upgrades I am unable to change the "Modify Amount" value, it only shows duration and requirements. (Modify Amount is found in the DamageResponse category.)
I have been successfull in the means of showing this value in the text using a data reference:
<d ref="Behavior,GuardianShield,DamageResponse.ModifyAmount"/>
But I am unable to edit the value using the catalog trigger or through upgrades. Here is what I have tried in the trigger:
Catalog - Set value of Behaviors "GuardianShield" "DamageResponse.ModifyAmount" for player (Triggering player) to "-4"
Catalog - Set value of Behaviors "GuardianShield" "Combat.DamageResponse.ModifyAmount" for player (Triggering player) to "-4"
I recieve the same error (catalog field value thing) with both variations. Before posting this I had read a person's post on a thread, and he said that you are unable to edit values that fall under the "DamageResponse" category. I just want to know if this is true. Otherwise, if you know anyway around this. I would like to know!
My thoughts on possibly working around this if you cannot use the catalog:
(These are unlikely to work, but I think they are possible.)
Using a variable in place of a constant value under "Modify Amount". Then an upgrade or trigger will modify the variable causing the value to change which in turn is pretty much the same thing as directly modifying the value with an upgrade or a catalog. (But that doesn't seem to work.)
If I use the text editor to insert a reference to that field, it gives me <d ref="Behavior,GuardianShield,DamageResponse[0].ModifyAmount[0]"/>. However, this still doesn't work as the catalog field. (It behaves identically to DamageResponse.ModifyAmount without the indices.) So no, it's not possible to modify those values via the catalog or via upgrades.
Unless you manage to mimic the behavior using an effect, the best you can do is make multiple copies of the behavior and change which one your unit uses.
Here are my thoughts on mimicking the behavior using an effect: you can link the damage response to an effect via the Handled field, and make a Modify Unit effect to add 2 to Life, but it would have undesirable effects for attacks which would otherwise hit for less than 2.5 damage. (2 damage would do no damage at all; 1 damage would heal your units.) And if the shield is able to stack, five of them would make any attack less than 10 damage heal your units...