diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-18 21:08:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-18 21:08:07 +0300 |
commit | 686815641bedccdf57a66b916a0aad52f0dddfe5 (patch) | |
tree | 1e8892695cca8a01329bf0eab0c98159e2f74534 /src/resources/beingcommon.cpp | |
parent | 0a29d8b9786d965a5ab14911d3e004bbd58de0b7 (diff) | |
download | manaverse-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.gz manaverse-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.bz2 manaverse-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.xz manaverse-686815641bedccdf57a66b916a0aad52f0dddfe5.zip |
Add into being dbs, shared attribute "quickActionEffect".
For now unused.
Diffstat (limited to 'src/resources/beingcommon.cpp')
-rw-r--r-- | src/resources/beingcommon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp index a64f33593..aba464158 100644 --- a/src/resources/beingcommon.cpp +++ b/src/resources/beingcommon.cpp @@ -50,6 +50,9 @@ void BeingCommon::readBasicAttributes(BeingInfo *const info, info->setHpBarOffsetX(XML::getProperty(node, "hpBarOffsetX", 0)); info->setHpBarOffsetY(XML::getProperty(node, "hpBarOffsetY", 0)); + info->setQuickActionEffectId(XML::getProperty(node, + "quickActionEffect", -1)); + unsigned char block = 0; std::string walkStr = XML::getProperty( node, "walkType", "walk"); |