if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
return false;
for (i = 0; i < ITEM_SOCKET_MAX_NUM; ++i)
if (item2->GetSocket(i) >= 1 && item2->GetSocket(i) <= 2 && item2->GetSocket(i) >= item->GetValue(2))
{
if (number(1, 100) <= 30) // 30 Is Success Rate(30 هي نسبة النجاح)
iVal = 3;
iVal = 0;
if (r_item.price <= 0)
if (r_item.price < 0)
if ( LC_IsEurope() )
{
lua_pushnumber(L, 5);
return 1;
}
if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
{
if (item->GetVnum() == 70024 || item->GetVnum() == 70035)
{
return SHOP_SUBHEADER_GC_END;
}
}
if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
{
if (item.vnum == 70024 || item.vnum == 70035)
{
continue;
}
}
case 71051:
if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell)))
if (item2->GetType() == ITEM_COSTUME)
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't add 6&7 bonuses on costumes"));
return false;
}
Shutdown(10);
Shutdown(30); // Close After 30 Seconds
PLAYER_EXP_TABLE_MAX = 120,
PLAYER_MAX_LEVEL_CONST = 120,
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] =
int ProcessTextTag(LPCHARACTER ch, const char * c_pszText, size_t len)
{
return 0;
ACMD(do_dice)
ACMD(do_dice)
{
ch->ChatPacket(CHAT_TYPE_INFO, "This command has been disabled.");
}
bool CHARACTER::DropGold(int gold)
return false;
if (pPC)
{
DWORD dwNowMin = get_global_time() / 60;
DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);
[ Bla Bla About Function ]
pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}
void StartDestroyEvent(int iSec=300);
pkItemToDrop->StartDestroyEvent();
pkItemToDrop->StartDestroyEvent(500);
case 20118:
case mount_vnum:
case 20118:
case 20249:
case 20250:
#define MAX_STAT 90
#define ENABLE_LIMIT_TIME
limitTime = time.mktime(time.localtime()) + 3600 * 24 * 180 * 2
gmake limit_time
bool CHARACTER_CanEmotion(CHARACTER& rch)
return true;
if (*arg2)
{
str_to_number(type, arg2);
if (type >= GUILD_WAR_TYPE_MAX_NUM)
type = GUILD_WAR_TYPE_FIELD;
}
if (*arg2)
{
str_to_number(type, arg2);
if (type >= GUILD_WAR_TYPE_MAX_NUM || type < 0)
type = GUILD_WAR_TYPE_FIELD;
}
{ "shutdown", do_shutdown, 0, POS_DEAD, GM_HIGH_WIZARD }, { "shutdown", do_shutdown, 0, POS_DEAD, GM_IMPLEMENTOR },
if (GetLevel() < 91) PointChange(POINT_STAT, 1);
if(iLv <= 90)
PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
if (GetLevel() <= 10)
AutoGiveItem(27001, 2);
else if (GetLevel() <= 30)
AutoGiveItem(27002, 2);
else
{
AutoGiveItem(27002, 2);
// AutoGiveItem(27003, 2);
}
if (version > date)
if (version != date)