diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-24 17:42:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-24 17:42:28 +0300 |
commit | 466829aef10af6b95d0f443226e8549f4399b567 (patch) | |
tree | 2b0e790cad32c16a7b283e82732820032efe9b91 /src/net/tmwa/questhandler.cpp | |
parent | a5f9e965323ad4b211405736eda7557cbe6a013a (diff) | |
download | plus-466829aef10af6b95d0f443226e8549f4399b567.tar.gz plus-466829aef10af6b95d0f443226e8549f4399b567.tar.bz2 plus-466829aef10af6b95d0f443226e8549f4399b567.tar.xz plus-466829aef10af6b95d0f443226e8549f4399b567.zip |
Add particle effect support for skill levelup.
New option skillLevelUpEffectId
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r-- | src/net/tmwa/questhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index f819dfc16..1a64e95f7 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -80,7 +80,10 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) questsWindow->rebuild(true); } if (skillDialog) + { skillDialog->updateQuest(var, val); + skillDialog->playUpdateEffect(var + SKILL_VAR_MIN_ID); + } } void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) |