summaryrefslogtreecommitdiff
path: root/src/enums/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 22:35:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 22:35:38 +0300
commit9429dc4f5b5b6102a8b575de25ce5d8e7170551f (patch)
treed4603ddbea06f75e8637a1ff94da4432d7b96951 /src/enums/being
parent64d30eda264c342aced8d791b47a35def0e4d15c (diff)
downloadmanaplus-9429dc4f5b5b6102a8b575de25ce5d8e7170551f.tar.gz
manaplus-9429dc4f5b5b6102a8b575de25ce5d8e7170551f.tar.bz2
manaplus-9429dc4f5b5b6102a8b575de25ce5d8e7170551f.tar.xz
manaplus-9429dc4f5b5b6102a8b575de25ce5d8e7170551f.zip
Change player job level, exp from stat object to attribute.
Diffstat (limited to 'src/enums/being')
-rw-r--r--src/enums/being/attributes.h2
-rw-r--r--src/enums/being/attributesstrings.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/enums/being/attributes.h b/src/enums/being/attributes.h
index 7252a539a..7cda13284 100644
--- a/src/enums/being/attributes.h
+++ b/src/enums/being/attributes.h
@@ -62,6 +62,8 @@ enumStart(Attributes)
PLAYER_ATK,
CART_TOTAL_WEIGHT = 1000,
CART_MAX_WEIGHT,
+ PLAYER_JOB_EXP,
+ PLAYER_JOB_EXP_NEEDED,
// homunculus attributes
HOMUN_LEVEL,
diff --git a/src/enums/being/attributesstrings.cpp b/src/enums/being/attributesstrings.cpp
index 51c116355..6dd24eef9 100644
--- a/src/enums/being/attributesstrings.cpp
+++ b/src/enums/being/attributesstrings.cpp
@@ -42,6 +42,8 @@ namespace AttributesEnum
strEnumDef(Attributes, TOTAL_WEIGHT)
strEnumDef(Attributes, MAX_WEIGHT)
strEnumDef(Attributes, PLAYER_JOB)
+ strEnumDef(Attributes, PLAYER_JOB_EXP)
+ strEnumDef(Attributes, PLAYER_JOB_EXP_NEEDED)
strEnumDef(Attributes, PLAYER_STR)
strEnumDef(Attributes, PLAYER_AGI)
strEnumDef(Attributes, PLAYER_VIT)