There are some things I'd like to know about some spells.
1. Triggered critical strike and evasion: How can i check damage dealt when there's event "unit takes damage" only for specific unit.
2. Autocast trigger spells: In some maps there are spells that add a certain percentage of hero's attributes to attack when the ability is on autocast. How can it be checked if an ability is on autocast or not?
3. Is it possible anyhow to use hero attributes directly in the object editor (e.g. setting field data-damage to "intelligence of casting unit") or do those spells have to be triggered?
4. I have a specific spell I've been unable to make. It's a channelling spell. It damages random 6 units around the casting hero every second (and creates a mana drain lightning effect) for 10 seconds, and adds a percentage of total damage dealt to casting hero's mana. The spell should be MUI.
Any help appreciated.
PS. I only know some basic JASS.
1. Triggered critical strike and evasion: How can i check damage dealt when there's event "unit takes damage" only for specific unit.
2. Autocast trigger spells: In some maps there are spells that add a certain percentage of hero's attributes to attack when the ability is on autocast. How can it be checked if an ability is on autocast or not?
3. Is it possible anyhow to use hero attributes directly in the object editor (e.g. setting field data-damage to "intelligence of casting unit") or do those spells have to be triggered?
4. I have a specific spell I've been unable to make. It's a channelling spell. It damages random 6 units around the casting hero every second (and creates a mana drain lightning effect) for 10 seconds, and adds a percentage of total damage dealt to casting hero's mana. The spell should be MUI.
Any help appreciated.
PS. I only know some basic JASS.