diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-10 22:42:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-10 22:52:53 +0300 |
commit | cdc8f4ad535d39adb89f238c6f9b2c68d71f6151 (patch) | |
tree | ec2ecc06c9cfb870b3a11aaec5326bf987593494 /src/resources/db/statuseffectdb.cpp | |
parent | 4aa184df5a208c51cb0141ae6a609c60294d8323 (diff) | |
download | mv-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.gz mv-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.bz2 mv-cdc8f4ad535d39adb89f238c6f9b2c68d71f6151.tar.xz mv-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/statuseffectdb.cpp')
-rw-r--r-- | src/resources/db/statuseffectdb.cpp | 2 |
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", ""); |