> I think someone mentioned having an affect bit on the weapon. >With the affect bit, you should have a check in hit() that checks to see >if the weapon being used has the correct bit and if so, cast the spell on >the target. Also, this way you can make sure that the spell is only cast >when the target is actually hit.. :-) > Graham Gilmore You can also get the actual position of the character, if fighting get the vict, roll a dice to see if the weapon will cast the offensive spell or not, and then finally cast the spell on the victim. Demetrius aka Akuma
This archive was generated by hypermail 2b30 : 12/07/00 PST