That gives me a pretty good idea how to do this. Thanks guy... -Matt Foltz --- Jason Nelson <[EMAIL PROTECTED]> wrote: > > > After another read through your post I noticed that > you are putting the > check in damage, not one_hit as I orginally thought > so I can see why the > simple wield check wouldnt always work. Sorry about > the confusion. > The reason why your check is never passing is that > the dt is never set to > gsn_hand_to_hand in one_hit. An attack that isnt > cause by a > weapon/spell/skill whatever is set directly to a > damage noun depending on > the ch->dam_type and then passed on as TYPE_HIT + > dam_type. Perhaps > changing that assignment in one_hit and assigning it > to gsn_hth will do the > trick as it passes down to your check. > The only time right now that your check would pass > is if something called > damage(ch, victim, dam, gsn_hand_to_hand, DAM_BASH, > TRUE); > > > Tavish > > > >From: "Jason Nelson" <[EMAIL PROTECTED]> > >To: [email protected] > >Subject: Re: Fighting stances > >Date: Sat, 04 Jan 2003 15:26:28 -0600 > > > >Why not just use something like > >if ( get_eq_char(WEAR_WIELD) == NULL && ch->stance > != STYLE_NONE) > >? > > > >Just be sure that when you are seeting the new > damage type you add TYPE_HIT > >to the amount before sending it along. > > > > > >Tavish > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months > FREE* > http://join.msn.com/?page=features/virus > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

