- Joined
- Apr 25, 2006
- Messages
- 1,309
So what I would want to do is to give units a miss chance depending in the distance between the attacking and attacked unit. Problem is that if I use event unit is attacked then I cast a miss spell to the attacking unit the miss ability takes effect after the attack has been made though it should affect the attack. For example if unit has 100% miss chance from last spell and then it attacks a unit near him and I would give it 0% miss chance the first attack is a miss. So how can I detect a unit that is attacking a target earlier than unit is attacked event.