View Single Post
  #4  
Old 05-12-2006, 02:39 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Mark Sir Link
Good job Excaliber, you don't know how to code!

the temp.dmcheck = temp.dmg-1 never modifies temp.dmg
temp.dmg than has a post decrement of one which causes the temp.dmcheck to = temp.dmg
Hmmm i thought it set it to the value on the other side of the equals sign
However, you're definatly right,
Quote:
the temp.dmcheck = temp.dmg-1 never modifies temp.dmg
Brain fart, sorry
Anyway, I can't see why it would return hacker, it doesn't make sense.
I'm not sure, but can hackers modify temp variables?
If so, this check yould be useless anyway. It may be better to calculate the damage, twice, and compare values at the end, although this would take double the script time.
Reply With Quote