text encoding fixed

This commit is contained in:
d1str4ught
2025-08-18 02:12:07 +02:00
parent da0a923cde
commit 34000c3306
484 changed files with 5767 additions and 5767 deletions

View File

@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "../../libgame/include/grid.h"
#include "constants.h"
#include "utils.h"
@@ -159,8 +159,8 @@ void CShop::SetShopItems(TShopItemTable * pTable, BYTE bItemCount)
if (item.pkItem)
{
item.vnum = pkItem->GetVnum();
item.count = pkItem->GetCount(); // PC 샵의 경우 아이템 개수는 진짜 아이템의 개수여야 한다.
item.price = pTable->price; // 가격도 사용자가 정한대로..
item.count = pkItem->GetCount(); // PC 샵의 경우 아이템 개수는 진짜 아이템의 개수여야 한다.
item.price = pTable->price; // 가격도 사용자가 정한대로..
item.itemid = pkItem->GetID();
}
else
@@ -247,7 +247,7 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
LPITEM item;
if (m_pkPC) // 피씨가 운영하는 샵은 피씨가 실제 아이템을 가지고있어야 한다.
if (m_pkPC) // 피씨가 운영하는 샵은 피씨가 실제 아이템을 가지고있어야 한다.
item = r_item.pkItem;
else
item = ITEM_MANAGER::instance().CreateItem(r_item.vnum, r_item.count);
@@ -259,7 +259,7 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
{
if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
{
//축복의 구슬 && 만년한철 이벤트
//축복의 구슬 && 만년한철 이벤트
if (item->GetVnum() == 70024 || item->GetVnum() == 70035)
{
return SHOP_SUBHEADER_GC_END;
@@ -294,7 +294,7 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
ch->PointChange(POINT_GOLD, -dwPrice, false);
//세금 계산
//세금 계산
DWORD dwTax = 0;
int iVal = 0;
@@ -334,13 +334,13 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
}
}
// 상점에서 살떄 세금 5%
// 상점에서 살떄 세금 5%
if (!m_pkPC)
{
CMonarch::instance().SendtoDBAddMoney(dwTax, ch->GetEmpire(), ch);
}
// 군주 시스템 : 세금 징수
// 군주 시스템 : 세금 징수
if (m_pkPC)
{
m_pkPC->SyncQuickslot(QUICKSLOT_TYPE_ITEM, item->GetCell(), 255);
@@ -382,7 +382,7 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
m_pkPC->PointChange(POINT_GOLD, dwPrice, false);
if (iVal > 0)
m_pkPC->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("판매금액의 %d %% 가 세금으로 나가게됩니다"), iVal);
m_pkPC->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("판매금액의 %d %% 가 세금으로 나가게됩니다"), iVal);
CMonarch::instance().SendtoDBAddMoney(dwTax, m_pkPC->GetEmpire(), m_pkPC);
}
@@ -443,7 +443,7 @@ bool CShop::AddGuest(LPCHARACTER ch, DWORD owner_vid, bool bOtherEmpire)
//HIVALUE_ITEM_EVENT
if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
{
//축복의 구슬 && 만년한철 이벤트
//축복의 구슬 && 만년한철 이벤트
if (item.vnum == 70024 || item.vnum == 70035)
{
continue;