Jump to content
  • 0
GyokuAkuma

changebase command

Question

image.png.6f5f05dec9f8502cbaf69c66c7d18d2c.png

 

i see this and try to use but... when i use he change the job anyway... somehow can me explain how can i change to only change the appearance like he say he does?

 

Spoiler

BUILDIN_FUNC(changebase)
{
    TBL_PC *sd=NULL;
    int vclass;

    if( !script_mapid2sd(3,sd) )
        return SCRIPT_CMD_SUCCESS;

    vclass = script_getnum(st,2);
    if(vclass == JOB_WEDDING)
    {
        if (!battle_config.wedding_modifydisplay || //Do not show the wedding sprites
            sd->class_&JOBL_BABY //Baby classes screw up when showing wedding sprites. [Skotlex] They don't seem to anymore.
            )
        return SCRIPT_CMD_SUCCESS;
    }

    if(!sd->disguise && vclass != sd->vd.class_) {
        status_set_viewdata(&sd->bl, vclass);
        //Updated client view. Base, Weapon and Cloth Colors.
        clif_changelook(&sd->bl,LOOK_BASE,sd->vd.class_);
        clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);
        if (sd->vd.cloth_color)
            clif_changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color);
        if (sd->vd.body_style)
            clif_changelook(&sd->bl,LOOK_BODY2,sd->vd.body_style);
        clif_skillinfoblock(sd);
    }
    return SCRIPT_CMD_SUCCESS;
}

Ty everyone and have a nice day.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
2 hours ago, Kreustoo said:

Hello,

What do you mean by "when i use he change the job anyway."?
It's just faking you are that job but you are not.

 

he change the skill tree and the job on info soo it's not so different from changing the job, i presume only the appearance will change.

Spoiler


image.thumb.png.6c164127da2e4372cf142961a1f0e83c.png

 

1554898961_Semttulo.thumb.png.032ffdc26cb037fc0558989a88ea7377.png

 

 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.