Reply to Re: Code for enemy hit?
If you don't have an account, just leave the password field blank.
I don't think there's any straightforward way to check that out...
Your best bet would probably be to add the code to the enemy's hit() procedure, and check if it was Dink hitting him with the right weapon there.
Something like this (writing on the fly, success not quaranteed):
Your best bet would probably be to add the code to the enemy's hit() procedure, and check if it was Dink hitting him with the right weapon there.
Something like this (writing on the fly, success not quaranteed):
if (&missle_source == 1) { compare_weapon("SwordOfSucking"); if (&return == 1) { // vampiric stuff } }