summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2016-02-10 10:18:44 -0600
committerWushin <pasekei@gmail.com>2016-02-10 10:18:44 -0600
commit831740025700f3862bd81dde1506a80f14346652 (patch)
tree51b05af456a99f6c9c4ec126d8c5a97acb4f114d
parent363bb322d0d924a68cfa5e726381c70a8ad31497 (diff)
parent7da0d5888e5910264e39d9f37e4910830a7718bc (diff)
downloadserverdata-831740025700f3862bd81dde1506a80f14346652.tar.gz
serverdata-831740025700f3862bd81dde1506a80f14346652.tar.bz2
serverdata-831740025700f3862bd81dde1506a80f14346652.tar.xz
serverdata-831740025700f3862bd81dde1506a80f14346652.zip
Merge pull request #458 from mekolat/statfix
do not give a free stat reset to pre-tutorial players
-rw-r--r--world/map/npc/functions/headstyles.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/functions/headstyles.txt b/world/map/npc/functions/headstyles.txt
index 1098c80c..2ddaa4a6 100644
--- a/world/map/npc/functions/headstyles.txt
+++ b/world/map/npc/functions/headstyles.txt
@@ -4,7 +4,7 @@
function|script|fixHeadStyles
{
callfunc "getHeadStyles";
- if ((TUT_var < 1 || QL_BEGIN < 1) && StatusPoint < 1)
+ if ((TUT_var < 1 || QL_BEGIN < 1) && StatusPoint < 1 && BaseLevel == 1)
goto L_RandomHair; // on first login
set @style, getlook(LOOK_HAIR_STYLE); // FIXME: this needs to be a param in the future
set @color, getlook(LOOK_HAIR_COLOR); // FIXME: this needs to be a param in the future