diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-26 19:17:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-26 19:18:17 +0300 |
commit | f8b39b10698870111df67af3645b17d8d15a7685 (patch) | |
tree | 05146e7a9f7a45321237e3be629dff7af7e733a7 /src/spellmanager.h | |
parent | ea6a5a78b7bed5fc47cfc4d81dac78c71d6289b3 (diff) | |
download | mv-f8b39b10698870111df67af3645b17d8d15a7685.tar.gz mv-f8b39b10698870111df67af3645b17d8d15a7685.tar.bz2 mv-f8b39b10698870111df67af3645b17d8d15a7685.tar.xz mv-f8b39b10698870111df67af3645b17d8d15a7685.zip |
Allow invoke chat command from invoking skill.
New skill attribute: invokeCmd.
Diffstat (limited to 'src/spellmanager.h')
-rw-r--r-- | src/spellmanager.h | 3 |
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(); |