Army damage
From AgeofWiki
|
Army damage is a Effect made by reyk which is accessed from the Triggers menu. You can learn more about the triggers window here. You can learn more about using effects here. This is a custom effect, you can learn about adding custom effects here. |
|
|
Image:
|
|
|---|---|
|
XML Code: |
|
<Effect name="ARMY Damage">
<Param name="SrcArmy" dispName="$$22348$$Army" VarType="group">default</Param>
<Param name="DamageAmt" dispName="$$23762$$DamagePct" varType="float">1</Param>
<Command>trArmySelect("%SrcArmy%");</Command>
<Command>trDamageUnit(%DamageAmt%);</Command>
</Effect>
|
|
|
Effect Description: |
|
|
Damages an entire army a certain amount specified by you. |
|
|
Effect Parameters: |
|
|
Army: Select the army you want to affect DamagePct: The amount of damage you want to occur. If you damage the unit more then its current hitpoints, then it will die. |
|
|
Notes: |
|
|
This does not damage a unit by percentage, it only damages it by amount. If you want to damage a unit by a certain percent, use the Army damage percent effect. |
|
|
Still don't understand the Army damage effect? Ask a question or discuss it on the discussion page!
Back to Custom Effects |
|

