| 03-02-2005, 06:50 AM | #1 |
Is it possible to have a critical strike(or bash) ability which is x% of activating against non-hero units and y% against heroes? e.g. Blademaster has critical strike level 2. He now has a 15% chance to do 2x damage to a normal unit and a 3% chance to do 2x damage to a hero. Thanks. |
| 03-02-2005, 06:59 AM | #2 |
Short of triggering the whole abilty it wont be possible via normal means. |
| 03-02-2005, 07:19 AM | #3 |
This is the trigger I would use to get this working: Code:
Events: - A unit is attacked Conditions: - Ability level of (Critical strike vs heroes) of (Attacking unit) > 0 AND - Attacked unit is a hero equal to FALSE. Actions: Add ability (Engineering Upgrade that changes crit-vs-hero to crit-vs-unit and nothing else) to attacking unit. Second trigger: Events: - A unit is attacked Conditions: - Ability level of (Critical strike vs units) of (Attacking unit) > 0 AND - Attacked unit is a hero equal to TRUE. Actions: Remove ability (Engineering Upgrade that changes crit-vs-hero to crit-vs-unit and nothing else) from attacking unit. If you don't want an engineering upgrade icon after attacking units, you can juggle multiple engineering upgrades to replace the ability without an icon appearing. I sort of forgot how to do this though, and I don't have the WE here. Should be some post about it somewhere on the forum, though. |
