| 03-13-2004, 10:41 PM | #1 |
How can i do to make a "chance to hit" like in diablo??? With percentage to hit a monster Answers please |
| 03-13-2004, 10:47 PM | #2 | |
Quote:
give the monster a dodge ability and use lvl upgrades for it |
| 03-13-2004, 10:51 PM | #3 |
Not really possible to do it like in Diablo. You would have (I think) to use a curse ability, or rather an array of them, like 10%,20%...90%,100% chance to miss. Now when the hero attacks a monster, you should compare levels or whatever to determine the chance to miss, then pick the closest curse ability and have a hidden caster cast that on the hero. So basically it's object editor work to create an invisible curse ability, then trigger work with the hidden caster and the algorithm to determine chance to miss. Not enourmously hard, and doesn't require JASS. |
| 03-14-2004, 12:06 AM | #4 |
ok thanks... |
