diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-23 21:58:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-23 21:58:36 +0300 |
commit | f7928a91e25deec5314b55e2b269c191fc140aec (patch) | |
tree | 80e648859676f399a93db7e44daf6d2d0fcbcf75 /src/net | |
parent | 13bd88a962de51e32031931dc5af70f6df341f3f (diff) | |
download | manaplus-f7928a91e25deec5314b55e2b269c191fc140aec.tar.gz manaplus-f7928a91e25deec5314b55e2b269c191fc140aec.tar.bz2 manaplus-f7928a91e25deec5314b55e2b269c191fc140aec.tar.xz manaplus-f7928a91e25deec5314b55e2b269c191fc140aec.zip |
Add skill error about missing spirits.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/skillrecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/net/ea/skillrecv.h b/src/net/ea/skillrecv.h index 2ff5d1974..3c5323a36 100644 --- a/src/net/ea/skillrecv.h +++ b/src/net/ea/skillrecv.h @@ -59,6 +59,7 @@ static const unsigned int RFAIL_OVERWEIGHT = 0x09; static const unsigned int RFAIL_SUMMON = 19; static const unsigned int RFAIL_NEED_ITEM = 71; static const unsigned int RFAIL_NEED_EQUIPMENT = 72; +static const unsigned int RFAIL_SPIRITS = 74; /** should always be zero if failed */ static const unsigned int SKILL_FAILED = 0x00; diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index cfba6fc9f..f0ce13cdd 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -276,6 +276,10 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) // TRANSLATORS: error message txt.append(_("Fail summon.")); break; + case RFAIL_SPIRITS: + // TRANSLATORS: error message + txt.append(_("Need spirits.")); + break; case RFAIL_NEED_EQUIPMENT: { const int itemId = bskill >> 16; |