- Joined
- Aug 16, 2011
- Messages
- 26
I'm trying to make a Cleaving Attack ability that is similer to the ability of the same name but has a percent chance to activate. Example:
level 1: 20% chance to hit with 40% dmg
level 2: 30% chance to hit with 60% dmg
level 3: 40% chance to hit with 80% dmg
level 4: 50% chance to hit with 100% dmg
The problem is I have no idea how to do it. How do I know when the hero attacks? I have no knowledge in JASS and am trying to do it with trigers. Is it possible?
level 1: 20% chance to hit with 40% dmg
level 2: 30% chance to hit with 60% dmg
level 3: 40% chance to hit with 80% dmg
level 4: 50% chance to hit with 100% dmg
The problem is I have no idea how to do it. How do I know when the hero attacks? I have no knowledge in JASS and am trying to do it with trigers. Is it possible?