Jump to content
  • 0
Rudra

Doubt about add costumes jobs

Question

I'm having a problem, I'm trying to implement new class visuals and I'm not getting it

data\luafiles514\lua files\dressroom\jobdresslist.lub

_DressList_f = {
    [4009] = {
        { "(0) Original", 0 },
        { "(1) 2-1/2-2", 1 },
        { "(2) 3rd kRO", 2 },
        { "(3) 3rd jRO", 3 },
        { "(4) 4th", 4 }
    },

I added the referring sprites for each folder

data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_1 == ÇÏÀÌÇÁ¸®_¿©_1
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_2 == ÇÏÀÌÇÁ¸®_¿©_2
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_3 == ÇÏÀÌÇÁ¸®_¿©_3
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_4 == ÇÏÀÌÇÁ¸®_¿©_4

/rAthena/conf/battle/client.conf

min_body_style: 0
max_body_style: 4

and only the first option is working is not switching to the other sprites.

do you know what's wrong?

lol2.png.dd86e115b34c7f4bf354bbf25cdfc437.png

thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

In src/map/battle.cpp find for:
{ "max_body_style", &battle_config.max_body_style, 1, 0, SHRT_MAX, },

Change to:

{ "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, },

 

Recompile and try again, please

And, what script command are you using to open this dress room?

Link to comment
Share on other sites

  • 0
5 hours ago, mechannical said:

In src/map/battle.cpp find for:
{ "max_body_style", &battle_config.max_body_style, 1, 0, SHRT_MAX, },

Change to:

{ "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, },

 

Recompile and try again, please

And, what script command are you using to open this dress room?

this:

opendressroom(1);

thanks i will try

 

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