summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 19:38:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 19:38:34 +0300
commit203045d6184a3e6246b64b3433f43e0bfebc2e31 (patch)
tree36388d4420f7ac5d11e0a2c2e3d400aaf14e2cee /src/being/being.cpp
parenteef656d3e65cc8954d03e65aacb04ba0271b7703 (diff)
downloadmanaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.gz
manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.bz2
manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.xz
manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.zip
Add support for post delay status effect. It change cast animation to stand.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 50875878b..29c28c463 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4349,4 +4349,9 @@ void Being::removeSpiritBalls(const unsigned int balls) restrict2
}
}
+void Being::setPostDelay(const bool b)
+{
+ if (b && mAction == BeingAction::CAST)
+ setAction(BeingAction::STAND, 0);
+}
#endif