mpmset and new damage types

Posted by Kik on Fri 09 Apr 2004 01:16 PM — 2 posts, 11,564 views.

#0
my version of mpmset does not support msetting PC's... i need to change this as my whole class structure revolves around it.. :) I also need to add at least 2 new damage types.. good and evil.. i am surprised that my code doesn't already have it .. but it doesn't.. any help you guys can give me would be GREATLY appreciated..
Australia Forum Administrator #1
Right near the start is a test for NPCs, I would start by fixing that ...


    /* A desc means switched.. too many loopholes if we allow that.. */
    if ( !IS_NPC( ch ) || IS_AFFECTED(ch, AFF_CHARM) || ch->desc )
    {
        send_to_char( "Huh?\n\r", ch );
        return;
    }


Bear in mind the comment about loopholes.