I've been working on perform_violance, I'm trying to make certain skills
automated for players, the problem has been that FIGHTING(ch) hasn't been
working its not sending a victim to damage...
last part of my code is the for statement I added for multi-attacks:
for (i = 0; i < att; i++) {
hit(ch, FIGHTING(ch), dam, TYPE_UNDEFINED);
}
then the kick code:
do_kick(ch, FIGHTING(ch));
which is:
do_kick(struct char_data * ch, struct char_data * vict) {
does all the percent and probability stuff and then:
hit(ch, vict, GET_LEVEL(ch)/2, SKILL_KICK);
^^^ this is where gdb returns the error that the vict has no value??
}
thanks,
James
--
+---------------------------------------------------------------+
| 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 : 12/03/01 PST