Re: [NEWBIE] SPELL_ARMOR

From: Its Me Christian (cd_fl@hotmail.com)
Date: 07/11/01


>From: Luca <wetwork@terra.com.br>
>
>Hey, i did a new variable to my spell armor but i have a problem:
>  case(SPELL_ARMOR)
>     if(IS_AFFECTED(ch, AFF_ARMADURA_MENOR)) /* i defined it in the
>structs.h */
>     send_to_char("You are protected by another arcane power.\r\n", buf);
>return;
>
>i don't know why but the text that it's suppose to send to char its not
>being sent...it just show ok and not the phrase....do you know what i'm
>doing wrong?

Should probably be something like this:

  case(SPELL_ARMOR)
   if(IS_AFFECTED(ch, AFF_ARMADURA_MENOR)) {
     send_to_char("You are protected by another arcane power.\r\n", ch);
     return;
   }
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
   +---------------------------------------------------------------+
   | 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/06/01 PST