Hellow..
BUG:
In my syslog :
Dec 08 21:24:45 :: SYSERR: Mob using =3D
'((ch)->player_specials->saved.skills[ 142])' at fight.c:983.
Dec 08 21:24:47 :: SYSERR: Mob using =3D
'((ch)->player_specials->saved.skills[ 142])' at fight.c:983.
Dec 08 21:24:49 :: SYSERR: Mob using =3D
'((ch)->player_specials->saved.skills[ 142])' at fight.c:983.
Dec 08 21:24:51 :: SYSERR: Mob using =3D
'((ch)->player_specials->saved.skills[ 142])' at fight.c:983.
and in my archive fight.c:
line 983----->>> if (GET_SKILL(ch, SKILL_SECOND_ATTACK) >= number(1, 101)) {
if (GET_SKILL(ch, SKILL_THIRD_ATTACK) >=3D3D number(1, 201)) apr++;
apr++;
}
// increment apr by one for every attack they are supposed to get,
// for the multiple attack skills, you should make sure they only
// get a subsequent attack if they properly got the previous one.
// For instance, you only get third attack if you are getting a
// second attack. This doesn't need to be skill based, you can
// easily make it based upon class/level... see the second example
// below.
//
// if (AFF_FLAGGED(ch, AFF_HASTE))
// apr +=3D3D number(0, 2);
file://=3D20
// if (GET_CLASS(ch) =3D3D=3D3D CLASS_WARRIOR && GET_LEVEL(ch) >=3D3D =
10)
// apr++;
//
// If apr is negative they get no attacks, if apr is 0 they get
// one attack. APR has a range of -1 to 4, giving a minimum of
// no attacks, to a maximum of 4. See the below line for changing
// that (eg., MAX(-1, MIN(apr, 6)) means a max of 6).
apr =3D3D MAX(-1, MIN(apr, 4));
if (apr >=3D3D 0) {
for (; apr >=3D3D 0 && FIGHTING(ch); apr--)
hit(ch, FIGHTING(ch), TYPE_UNDEFINED);
if (MOB_FLAGGED(ch, MOB_SPEC) && mob_index[GET_MOB_RNUM(ch)].func !=3D3D =
=3D
NULL)
(mob_index[GET_MOB_RNUM(ch)].func) (ch, ch, 0, "");
}
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/24/03 PDT