The Dink Network

Reply to Scripting question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 1st 2003, 02:58 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
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?