Re: [Newbie] Paladin Skills

From: Chi Hoai Tran (necro@progsoc.uts.edu.au)
Date: 10/14/96


On Mon, 14 Oct 1996, Brian Williams - Nashak wrote:

> chuckle.. this is extremely simple just put "if (GET_CLASS(ch) !=
> CLASS_WARRIOR && GET_CLASS(ch) != CLASS_PALADIN)" to replace != warrior..
> :P hope I helped
> 

  A much better solution is to have the check:-

  if (!GET_SKILL(ch, SKILL_KICK)) {
    send_to_char("Heh, you dont know what you are doing!\r\n", ch);
    return;
    }

for other skills, just replace SKILL_KICK with whatever.  This way,
whenever you want to give the skill to a new class you just created,
you dont have to modify any skills.


Horus   @  Dark Realms --->  ftoomsh.progsoc.uts.edu.au


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST