Here is my dilemma.  I have 20 different martial arts
styles, and a command to switch between them.  That
part works fine.  What I want to do is if you're using
hand_to_hand, and in a stance, to have it randomly
pick a damage string and the corresponding dam_type
from the style_table.  I put a check like this:
if ( dt == gsn_hand_to_hand && ch->stance !=
STYLE_NONE )
into the damage function, but it never passed the
check.  Is there a way to check if the attack itself
is coming from hand_to_hand?  Or is there a better way
to approach this?  Thanks for any help.
-Matt Foltz

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to