summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-18 21:08:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-18 21:08:07 +0300
commit686815641bedccdf57a66b916a0aad52f0dddfe5 (patch)
tree1e8892695cca8a01329bf0eab0c98159e2f74534 /src/resources/beingcommon.cpp
parent0a29d8b9786d965a5ab14911d3e004bbd58de0b7 (diff)
downloadplus-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.gz
plus-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.bz2
plus-686815641bedccdf57a66b916a0aad52f0dddfe5.tar.xz
plus-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.cpp3
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");