salem
New Member
- Reaction score
- 3
I've been trying to make a so called "Deep Wound" ability, where the hero has a 15% chance that his hit will do extra X damage and leave the target bleeding for 5 seconds (meaning target is losing hp during the 5 seconds that he's bleeding).
Now I'm trying to avoid the use of triggers, so I looked for an ability that will allow me to do what i described above. After searching through the massive war3 abilities, i landed on an item based one called "Item Attack Black Arrow Bonus". The special thing about this kind of ability, is that it gives a % chance that your hit will cause a certain effect:
So I based my hero ability off of this and made it a hero ability with 6 levels. Where it says "Data - Effect Ability", I placed my Deep Wound ability based off the Dryad's "Slow Poison". The "Chance To Hit" was set to 15% everywhere.
Now the problem is, it is always hitting and causing the Effect Ability "Deep Wound"... meaning as if the "Chance To Hit" was set to 100%.
I've also tried making 6 Deep Wound Abilities based off the "Item Attack Black Arrow Bonus", however, i kept them as item abilities and each one of them has its own "Deep Wound" Data - Effect Ability, which are also item abilities. Then i used triggers to give the hero the appropriate ability level... saddly it still doesn't work, for some reason the game directly gives the hero the Data - Effect Ability which completely ignores the Chance to Hit condition...
Now I'm trying to avoid the use of triggers, so I looked for an ability that will allow me to do what i described above. After searching through the massive war3 abilities, i landed on an item based one called "Item Attack Black Arrow Bonus". The special thing about this kind of ability, is that it gives a % chance that your hit will cause a certain effect:
Code:
Data - Chance To Hit Heroes (%)
Data - Chance To Hit Summons (%)
Data - Chance To Hit Units (%)
Data - Damage Bonus
Data - Effect Ability
So I based my hero ability off of this and made it a hero ability with 6 levels. Where it says "Data - Effect Ability", I placed my Deep Wound ability based off the Dryad's "Slow Poison". The "Chance To Hit" was set to 15% everywhere.
Now the problem is, it is always hitting and causing the Effect Ability "Deep Wound"... meaning as if the "Chance To Hit" was set to 100%.
I've also tried making 6 Deep Wound Abilities based off the "Item Attack Black Arrow Bonus", however, i kept them as item abilities and each one of them has its own "Deep Wound" Data - Effect Ability, which are also item abilities. Then i used triggers to give the hero the appropriate ability level... saddly it still doesn't work, for some reason the game directly gives the hero the Data - Effect Ability which completely ignores the Chance to Hit condition...