I haven't considered about that...Well I think I must change something in my plans.
Is there a way to work around these two problems?
1) I tried to make a "Bind" special attack that would immobilize (set speed to zero) target. However I faced the same problem, it froze for infinity (well, I didn't waited for over 100 seconds
). Is there a way to have binding effect, so that the unit could not move?
Well, the bind was supposed to last for 6 seconds. What do you think, would the following be good idea: make the effect itself last just for a short moment, but cause the move speed become so slow that it would take 6 seconds before changing skill, by making speed modifier close to zero? Or would it cause problems. In addition, is there a formula for the speed, so I could calculate that how small the time should be for 6 second "freeze". Is there any sense in that idea?
2) I wanted an ability to prevent enemy from attacking for a while. But if i put damage to 0, the particle shows still (i suppose, but I haven't tested), which is unwanted visual effect. But if attack speed is slower, it takes forever to finish the command. Is there a way to work around this? To prevent an unit from attacking due to some "Stun"-effect.
I know this discussion is old, but because my problem was exactly about what was discussed here, I thought it could be better to continue this thread instead of starting a new.