Re: QP System

From: Alexander Anikin (
Date: 02/14/00

> Okay here is my attempt: (DG Scripts wouldnt work, and i think this is the
> best way anyway)
> I added the following code into fight.c
>     make_corpse(ch);
> >>  if (IS_NPC(ch) && GET_QUESTP(killer) > 0)
> >>    (GET_QUESTP(ch) + GET_QUESTP(killer));
> It compiles perfectly, and runs, but when i kill the mob with the quest
> points (I also added a place where i can set mob qps in the medit function
> oasis, and that seems to work) okay when i kill the mob, the questpoints
> transfer over to the player. can anyone suggest anything? thank you.

Its seems strange to me you write just GET_QUESTP(ch)+GET_QUESTP(killer)...
Probably you don't make assignment  - possibly should be GET_QUESTP(killer)

The second possible trouble here:
IS_NPC(ch) && GET_QUEST(killer) will make sure that mob killed and mob's
I suppose you should change it to IS_NPC(ch) && GET_QUEST(ch).

> Jerry

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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