Reply to Scripting question
If you don't have an account, just leave the password field blank.
Hey there. I'm making this add-on for the Dink fighting engine, where you can "miss".
There is a small chance you miss when you attack. Though, the only way I could think of is make your strength 0 for a microsecond, and then turn it back to old strength.
The problem is, Seth was a horrible programmer, and because of that, it actually takes time to count down to 0 for strength. Because of this, *some* times, you miss, and still do damage. I could prevent this by putting in a bigger wait, but that would be kinda stupid, to see your strength go to 0 for an x ammount of time (which would be too long if strength is high. when strength is higher it takes a longer time to count to 0).
My question; does anyone know a way this can be easier done?
There is a small chance you miss when you attack. Though, the only way I could think of is make your strength 0 for a microsecond, and then turn it back to old strength.
The problem is, Seth was a horrible programmer, and because of that, it actually takes time to count down to 0 for strength. Because of this, *some* times, you miss, and still do damage. I could prevent this by putting in a bigger wait, but that would be kinda stupid, to see your strength go to 0 for an x ammount of time (which would be too long if strength is high. when strength is higher it takes a longer time to count to 0).
My question; does anyone know a way this can be easier done?