Jump to content
  • 0

Mapflag & Groomy Question


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

How do i set nochat mapflag that if you are a GM Level above 10 you can create chats ?

and how do i set this so that Groomy also removes mado gear from mechanics

   	 case SC__GROOMY:
           val2 = 20 + 10 * val1; //ASPD. Need to confirm if Movement Speed reduction is the same. [Jobbie]
           val3 = 20 * val1; //HIT
           val_flag |= 1|2|4;
           if( sd )
           { // Removes Animals
               if( pc_isriding(sd) ){ pc_setriding(sd, 0); pc_setoption(sd, sd->sc.option&~OPTION_DRAGON); }
               if( pc_iswug(sd) ) pc_setoption(sd, sd->sc.option&~OPTION_WUG);
               if( pc_isridingwug(sd) ) pc_setoption(sd, sd->sc.option&~OPTION_WUGRIDER);
               if( pc_isfalcon(sd) ) pc_setoption(sd, sd->sc.option&~OPTION_FALCON);
               if( sd->status.pet_id > 0 ) pet_menu(sd, 3);
               if( merc_is_hom_active(sd->hd) ) merc_hom_vaporize(sd,1);
               if( sd->md ) merc_delete(sd->md,3);
           }
           break;

Edited by Emnaj
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...