Blackisting Palettes per classes and gender

HyperSonic2097

New member
Messages
50
Points
0
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?

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

 
Last edited by a moderator:
Back
Top