Army damage percent
From AgeofWiki
|
Army damage percent 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:
|
|
|---|---|
|
Missing image
ArmyDamagePct.jpg Image:ArmyDamagePct.jpg |
|
|
XML Code: |
|
<Effect name="ARMY Damage Percent">
<Param name="SrcArmy" dispName="$$22348$$Army" VarType="group">default</Param>
<Param name="DamagePct" dispName="$$23761$$DamagePct" varType="float">50</Param>
<Command>trArmySelect("%SrcArmy%");</Command>
<Command>trDamageUnitPercent(%DamagePct%);</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. What ever number you enter into this field, will be turned into a percent. So if you want to give hitpoint back, enter a decimal. |
|
|
Notes: |
|
|
This does not damage a unit by a certain value, it only damages it by percent. If you want to damage a unit by a certain value, use the Army damage effect. |
|
|
Still don't understand the Army damage percent effect? Ask a question or discuss it on the discussion page!
Back to Custom Effects |
|
