Jump to content

cits13th

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by cits13th

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

×
×
  • Create New...