MRMJ-1: Messenger & Skills fixes

This commit is contained in:
Mind Rapist
2025-12-14 05:17:16 +02:00
parent da619922cb
commit 0f79d890ba
53 changed files with 1387 additions and 231 deletions

View File

@@ -1,4 +1,4 @@
<EFBFBD>#include "stdafx.h"
#include "stdafx.h"
#include "utils.h"
#include "config.h"
#include "char.h"
@@ -79,7 +79,7 @@ bool ITEM_MANAGER::ReadCommonDropItemFile(const char * c_pszFileName)
if (!ITEM_MANAGER::instance().GetVnumByOriginalName(d[i].szItemName, dwItemVnum))
{
// 이름으로 못찾으면 번호로 검색
// <EFBFBD≯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ã<EFBFBD><C3A3><EFBFBD><EFBFBD> <20><>ȣ<EFBFBD><C8A3> <20>˻<EFBFBD>
str_to_number(dwItemVnum, d[i].szItemName);
if (!ITEM_MANAGER::instance().GetTable(dwItemVnum))
{
@@ -224,7 +224,7 @@ bool ITEM_MANAGER::ReadSpecialDropItemFile(const char * c_pszFileName)
if (!GetVnumByOriginalName(name.c_str(), dwVnum))
{
if (name == "경험치" || name == "exp")
if (name == "exp")
{
dwVnum = CSpecialItemGroup::EXP;
}
@@ -373,7 +373,8 @@ bool ITEM_MANAGER::ConvSpecialDropItemFile()
if (!GetVnumByOriginalName(name.c_str(), dwVnum))
{
if ( name == "경험치" ||
//if ( name == "<22><><EFBFBD><EFBFBD>ġ" ||
if (name == "exp" ||
name == "mob" ||
name == "slow" ||
name == "drain_hp" ||
@@ -406,7 +407,7 @@ bool ITEM_MANAGER::ConvSpecialDropItemFile()
str_to_number(iRarePct, pTok->at(3).c_str());
}
// 1 "기술 수련서" 1 100
// 1 "<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ü<EFBFBD>" 1 100
if (0 == dwVnum)
fprintf(fp, " %d %s %d %d\n", k, name.c_str(), iCount, iProb);
else