- Mesaj
- 178
- Çözümler
- 5
- Beğeni
- 70
- Puan
- 724
- Ticaret Puanı
- 0
char_manager.cpp:
Arat:
LPCHARACTER CHARACTER_MANAGER::SpawnMob(DWORD dwVnum, long lMapIndex, long x, long y, long z, bool bSpawnMotion, int iRot, bool bShow)
Ekle:
#ifdef ENABLE_BOSS_SPAWN_NOTICE
static const std::vector<int> bossList = {
191, 192, 193, 194, 491, 492, 493, 494,
531, 532, 533, 534, 591, 691, 791, 792,
1091, 1092, 1093, 1095, 1191, 1192, 1304,
1901, 2091, 2206, 2307, 2306, 2491, 2492,
2494, 2495, 2597, 2598, 3190, 3191, 3290,
3291, 3390, 3391, 3490, 3491, 3590, 3591,
3690, 3691, 3790, 3791, 3890, 3891, 6390,
6391, 3090, 3091, 2191, 6421, 4204, 4209,
4210, 3596
};
if (std::find(bossList.begin(), bossList.end(), ch->GetRaceNum()) != bossList.end())
{
char szSpawnNotice[QUERY_MAX_LEN];
snprintf(szSpawnNotice, sizeof(szSpawnNotice),
"[Kanal %d] : %s dogdu!",
g_bChannel,
ch->GetName());
BroadcastNotice(szSpawnNotice);
}
#endif
Service.h:
Ekle:
#define ENABLE_BOSS_SPAWN_NOTICE