summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 22:42:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 22:52:53 +0300
commitcdc8f4ad535d39adb89f238c6f9b2c68d71f6151 (patch)
treeec2ecc06c9cfb870b3a11aaec5326bf987593494 /src/resources/db
parent4aa184df5a208c51cb0141ae6a609c60294d8323 (diff)
downloadplus-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.gz
plus-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.bz2
plus-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.xz
plus-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.zip
Add support for permanent particle effect.s20160712
Attribute name "particle". This effect cant be played at start, if existing "start-particle" but will be played if effect continues.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/statuseffectdb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index 4e73b8ee7..0b0618783 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -168,6 +168,8 @@ void StatusEffectDB::loadXmlFile(const std::string &fileName,
node, "start-audio", "");
startEffect->mStartParticleEffect = XML::getProperty(
node, "start-particle", "");
+ startEffect->mParticleEffect = XML::getProperty(
+ node, "particle", "");
startEffect->mIcon = XML::getProperty(node, "icon", "");
startEffect->mAction = XML::getProperty(node, "action", "");