diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-01-07 13:48:00 -0500 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-02-08 21:04:29 -0500 |
commit | 5ee9d4a5523a792de751ec547a6f8d11740770e7 (patch) | |
tree | 593970bd6fd0d304b55d7f79acda4f524ef8e70b /world/map/npc/functions/headstyles.txt | |
parent | 401ff146cbd56e214007c1a298194fdef66d5a96 (diff) | |
download | classic-serverdata-5ee9d4a5523a792de751ec547a6f8d11740770e7.tar.gz classic-serverdata-5ee9d4a5523a792de751ec547a6f8d11740770e7.tar.bz2 classic-serverdata-5ee9d4a5523a792de751ec547a6f8d11740770e7.tar.xz classic-serverdata-5ee9d4a5523a792de751ec547a6f8d11740770e7.zip |
add disguise function to gm debug
Diffstat (limited to 'world/map/npc/functions/headstyles.txt')
-rw-r--r-- | world/map/npc/functions/headstyles.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/functions/headstyles.txt b/world/map/npc/functions/headstyles.txt index 4eae0862..02cc895f 100644 --- a/world/map/npc/functions/headstyles.txt +++ b/world/map/npc/functions/headstyles.txt @@ -11,7 +11,7 @@ function|script|fixHeadStyles set @color, getlook(LOOK_HAIR_COLOR); // FIXME: this needs to be a param in the future if (@style < 1 || @style > getarraysize(@HairStyles$)) // leftover from previous attempt at classes setlook LOOK_HAIR_STYLE, 1; // FIXME: this needs to be a param in the future - if (@color == HC_WHITE && Class > 1) // convert shock white + if (@color >= 123 && @color <= HC_WHITE) // convert shock white set @color, (HC_WHITE - Class) + 1; if (@color < 105 && ((@color - (15 * (Class - 1))) < 0 || @color > ((15 * (Class - 1)) + (getarraysize(@HairColors$) - 1)))) set @color, 15 * (Class - 1); // it is possible to style color 0 but not style 0 since style is treated as an item |