SOURCE Update 16 Protecno fix safe lorencia - Source Mu - Mu Server Files
 

SOURCE Update 16 Protecno fix safe lorencia

Publicado por Dakosmu, Nov 16, 2025, 01:22 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Dakosmu

SOURCE Update 16 Protecno fix safe lorencia

bool CBossGuild::CheckPlayerTarget(LPOBJ lpObj, LPOBJ lpTarget, int Type) // OK
{
   if (Type == 1) //Attack
   {
      if (lpObj->Map == this->MapBossGuildEvent)
      {
      ///   LogAdd(LOG_RED, "DEBUG 1 Attack %d", lpObj->GuildNumber);
         //if (lpObj->GuildNumber == 0 && lpObj->Type == OBJECT_USER)
         //{
         //   gObjMoveGate(lpObj->Index, 17); //Move tat ca cac thanh nien ve
         //   return 1;
         //}
         //if (lpObj->Type == OBJECT_USER && lpTarget->Type == OBJECT_MONSTER)
         //{
         //   if (lpObj->GuildNumber == lpTarget->GuildNumber &&  lpObj->GuildNumber)
         //   {
         //      gObjMoveGate(lpObj->Index, 17);//new quitar si falla
         //      return 1;
         //   }
         //}

      }
   }
   else //View PK
   {
      if (lpObj->Map == this->MapBossGuildEvent)
      {
         if (lpTarget->GuildNumber != lpObj->GuildNumber)
         {
            gObjMoveGate(lpObj->Index, 17);//new quitar si falla
            return 1;
         }
      }

   }
   return 0;
}
Bon Dia

🡱 🡳
Real Time Web Analytics