la pregunta de siempre de porque no se pueden matar en el mapa del evento raklion, solo es un switch.
[b]ServerInfo.cpp[/b]
[code]void CServerInfo::ReadCustomInfo(char* section,char* path) // OK[/code]
[code]this->m_RaklionPvPBossMap = GetPrivateProfileInt(section,"RaklionPvPBossMap",0,path);[/code]
[b]ServerInfo.h[/b]
[code]public:
int m_RaklionPvPBossMap;[/code]
en [b]GameServer - Event.dat[/b] agregar:
RaklionPvPBossMap = 1
[b]Attack.cpp[/b]
Buscar : [b]bool CAttack::CheckPlayerTarget(LPOBJ lpObj,LPOBJ lpTarget) // OK[/b]
remplazar :
[code]if(lpObj->Map == MAP_RAKLION2 && lpTarget->Map == MAP_RAKLION2)[/code]
por esto :
[code]if(gServerInfo.m_RaklionPvPBossMap == 0)
{
if(lpObj->Map == MAP_RAKLION2 && lpTarget->Map == MAP_RAKLION2)
{
return 0;
}
}[/code]
Creditos: Karuritoku