diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-15 19:25:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-15 19:25:09 +0300 |
commit | 649fdb1c512e9608aa05c99a08b867c8758eeaf8 (patch) | |
tree | 36aefb040eefdc08cef57f760b3ac67a842b56b8 /src/resources/monsterdb.cpp | |
parent | ffabda4c473711ffa8fdfe37c2a4460fe31347ac (diff) | |
download | plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.gz plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.bz2 plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.xz plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.zip |
Add support for monster look.
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 3d6473fd6..9e8da1b44 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -112,12 +112,16 @@ void MonsterDB::loadXmlFile(const std::string &fileName) currentInfo->setMaxHP(XML::getProperty(monsterNode, "maxHP", 0)); + currentInfo->setSortOffsetY(XML::getProperty( monsterNode, "sortOffsetY", 0)); currentInfo->setDeadSortOffsetY(XML::getProperty( monsterNode, "deadSortOffsetY", 31)); + currentInfo->setColorsList(XML::getProperty(monsterNode, + "colors", "")); + unsigned char block = 0; std::string walkStr = XML::getProperty( monsterNode, "walkType", "walk"); |