summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/ea/skillrecv.h1
-rw-r--r--src/net/eathena/skillrecv.cpp4
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;