Jump to content
  • 0

How to allow Ranger avaliable riding wang & get falcon?


cits13th

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/02/11
  • Last Seen:  

Hi all,

Do anyone have any idea, how to edit src for enable to get falcon while they're riding wang.

I found in the pc.c file but I don't have any idea how to edit them.

yes, I did tried but when I edited them, it's always error when compile.

/*==========================================
* ‘้’่
*------------------------------------------*/
int pc_setfalcon(TBL_PC* sd, int flag)
{
   if( sd->sc.data[sC__GROOMY] )
       return 0;

   if( flag )
   { // You cannot get falcon while riding warg or while you have warg.
       if( pc_checkskill(sd,HT_FALCON)>0 && !(sd->sc.option&OPTION_RIDING_WUG || sd->sc.option&OPTION_WUG) )    // t@R“}X^?XL
           pc_setoption(sd,sd->sc.option|OPTION_FALCON);
   }
   else if( pc_isfalcon(sd) )
   {
       pc_setoption(sd,sd->sc.option&~OPTION_FALCON); // remove falcon
   }

   return 0;
}

/*==========================================
*
*------------------------------------------*/
int pc_setwarg(TBL_PC* sd, int flag)
{

   if( sd->sc.data[sC__GROOMY] )
       return 0;

   if( flag ){
       if( (pc_checkskill(sd,RA_WUGMASTERY)>0) && !(pc_isfalcon(sd)) && (!pc_iswarg(sd) || battle_config.warg_can_falcon) && !(pc_isriding(sd, OPTION_RIDING_WUG)) )
           pc_setoption(sd,sd->sc.option|OPTION_WUG);
   } else if( pc_isriding(sd, OPTION_RIDING_WUG) ) {
       pc_setoption(sd,sd->sc.option&~OPTION_RIDING_WUG);
   } else if( pc_iswarg(sd) ){
       pc_setoption(sd,sd->sc.option&~OPTION_WUG); // remove warg
   }

   return 0;
}

Thank you for your help.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

Have you tried this in battle/player.conf?


// Set to 1 if you want to enable falcons and wolves at a time.
// NOTE: This is not allowed on official servers.
// Default: 0.
warg_can_falcon: 1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  125
  • Reputation:   7
  • Joined:  11/19/11
  • Last Seen:  

then get falcon first before warg

Falcon then Warg OK

Warg then Falcon is not OK, you will not get Falcon

Link to comment
Share on other sites

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...