- Joined
- Apr 3, 2015
- Messages
- 104
Hello, i want to make a ability when Unit A stuns Unit B with "Critical Strike" but the ability does damage to adjacent units every time "critical strike" is executed
The simplest way is to use Damage Engine. With that, you can trigger your own Critical Strike. When the Critical Strike occurs, create and order a dummy to stun the target. You can damage nearby enemies with trigger.
isn't there any simplest solution? because i have a big problem with the "language barrier"Go download Damage Engine here. Follow the instructions from the description to implement the system in your map correctly. Once you've done, Create a new trigger. Put "Game - DamageModifierEvent becomes Equal to 1.00" as an event. The condition should be something like "(Level of YourAbility for (DamageEventSource)) Greater than 0", this will check if the unit that causing damage has the ability. You can alter the damage that the caster dealt using "DamageEventAmount" variable.
I find it hard to explain it, it's much better if you just go ahead and try it. I'm sure you'll figure out how to use the damage engine properly.
Just ask if there is any part that you don't understand.
I'm afraid not, because critical strike is hardcoded and you can't detect it.isn't there any simplest solution? because i have a big problem with the "language barrier"
How to Install:
- Necessary: Copy & paste the Unit Indexer trigger into your map.
- Necessary: Copy & paste the Damage Engine trigger into your map
- Necessary: Copy the Cheat Death Ability from Object Editor, and set it to the variable DamageBlockingAbility.
- Necessary: Copy the Spell Damage Detector Ability from Object Editor, and set it to the variable SpellDamageAbility.
Is this AoE Damage a % of the dealt damage or a fix value?Hello, i want to make a ability when Unit A stuns Unit B with "Critical Strike" but the ability does damage to adjacent units every time "critical strike" is executed