sectree.h - open RemoveAttribute(DWORD x, DWORD y, DWORD dwAttr); find add after #ifdef ENTITY_OPTIMIZED_FIX int GetPCCount() const { return m_iPCCount; } #endif char_battle.cpp - open if (ch->IsMonster() == true) { if (ch->IsRevive() == false && ch->HasReviverInParty() == true) { ch->SetPosition(POS_STANDING); ch->SetHP(ch->GetMaxHP()); ch->ViewReencode(); ch->SetAggressive(); ch->SetRevive(true); find add after #ifdef ENTITY_OPTIMIZED_FIX LPSECTREE pkSectree = ch->GetSectree(); if (pkSectree && pkSectree->GetPCCount() > 0) ch->StartStateMachine(); #endif