NOTE: This is a guest paste. Sign up for a free account to edit, delete, and manage your pastes!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 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 |