Re: [CODE] Multiple applies on skills?

From: Jason Pullara (Circle@si.rr.com)
Date: 10/23/00


> >     af.type = SKILL_RAGE;
> >     af.location = APPLY_DAMROLL;
> >     af.location = APPLY_AC;
> >     af.bitvector[0] = 0;
> >     af.bitvector[1] = 0;
> >     af.bitvector[2] = 0;
> >     af.bitvector[3] = 0;
> >     af.modifier = GET_LEVEL(ch)/3;
> >     af.modifier = +50;
> >     af.duration = GET_LEVEL(ch)/2;

Well think of it like this:

your settinf af.location to equal APPLY_DAMROLL
then your setting it equal to APPLY_AC

Your not setting it to APPLY_DAMROLL and APPLY_AC, just the one that comes last..

Also.. af.modifier should be: af.modifer +=  50; (assuming were speaking of type int, or some other numerical type)




Anyway have fun

--LordKaT


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT