Autoskill help

From: Kaun Lazaro (
Date: 01/28/01

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??


   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/03/01 PST