Jump to content
  • 0
Sign in to follow this  
HyperSonic2097

Blackisting Palettes per classes and gender

Question

Hi,

for some reasons I have palettes files per classes and gender of different number. For example my novice palette are from 0 to 10, assassin from 0 to 30 and archer from 0 to 50.

My question is how I can blackist a range of palettes for specific class and/or gender? In trunk/conf/battle/client.conf I can configure only a generic range valid for all classes and gender

 

// valid range of dye's and styles on the client
min_hair_style: 0
max_hair_style: 27
min_hair_color: 0
max_hair_color: 8
min_cloth_color: 0
max_cloth_color: 4

 

Any way to work on this?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

The easiest way (in my opinion) would be to script a NPC that does a class check first, e.g. :

switch(Class) {
  case(Job_Novice):
      setlook(LOOK_HAIR_COLOR, 0); //Or else...
      break;
  case(Job_Assassin):
      setlook(LOOK_HAIR_COLOR, 30); //Or else...
      break;
}

etc...

 

Edited by maqc1

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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