summaryrefslogtreecommitdiff
path: root/src/spellmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-26 19:17:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-26 19:18:17 +0300
commitf8b39b10698870111df67af3645b17d8d15a7685 (patch)
tree05146e7a9f7a45321237e3be629dff7af7e733a7 /src/spellmanager.h
parentea6a5a78b7bed5fc47cfc4d81dac78c71d6289b3 (diff)
downloadmanaplus-f8b39b10698870111df67af3645b17d8d15a7685.tar.gz
manaplus-f8b39b10698870111df67af3645b17d8d15a7685.tar.bz2
manaplus-f8b39b10698870111df67af3645b17d8d15a7685.tar.xz
manaplus-f8b39b10698870111df67af3645b17d8d15a7685.zip
Allow invoke chat command from invoking skill.
New skill attribute: invokeCmd.
Diffstat (limited to 'src/spellmanager.h')
-rw-r--r--src/spellmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spellmanager.h b/src/spellmanager.h
index f2830edb6..976c324ed 100644
--- a/src/spellmanager.h
+++ b/src/spellmanager.h
@@ -67,6 +67,9 @@ class SpellManager final
void swap(const int id1, const int id2);
+ static void invokeCommand(const std::string &command,
+ const Being *const target);
+
private:
void fillSpells();