From 26c14e5269feafec782166f80c31fe1a7c2b3d53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Nov 2015 01:00:04 +0300 Subject: Add chat command skill. New chat command: /skill ID[ LEVEL[ TEXT]] --- src/gui/windows/skilldialog.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/skilldialog.h') diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index 2e0125e9c..6618e7f49 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -140,9 +140,17 @@ class SkillDialog final : public Window, void removeSkill(const int id); + static void useSkill(const int skillId, + const AutoTarget autoTarget, + int level, + const bool withText, + const std::string &text); + static void useSkill(const SkillInfo *const info, const AutoTarget autoTarget, - int level); + int level, + const bool withText = false, + const std::string &text = ""); SkillData *getSkillData(const int id) const; -- cgit v1.2.3-70-g09d2