summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-23 01:00:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-23 01:00:04 +0300
commit26c14e5269feafec782166f80c31fe1a7c2b3d53 (patch)
tree3e3af33e53421438332a8738f273d032d7165640 /src/input
parent9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5 (diff)
downloadplus-26c14e5269feafec782166f80c31fe1a7c2b3d53.tar.gz
plus-26c14e5269feafec782166f80c31fe1a7c2b3d53.tar.bz2
plus-26c14e5269feafec782166f80c31fe1a7c2b3d53.tar.xz
plus-26c14e5269feafec782166f80c31fe1a7c2b3d53.zip
Add chat command skill.
New chat command: /skill ID[ LEVEL[ TEXT]]
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index c814e5ee6..e08885edb 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5078,6 +5078,12 @@ static const InputActionData inputActionData
"selectskilllevel",
UseArgs_true,
Protected_false},
+ {"keySkill",
+ defaultAction(&Actions::skill),
+ InputCondition::INGAME,
+ "skill|useskill",
+ UseArgs_true,
+ Protected_false},
};
#undef defaultAction