Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Search in Petsystem.cpp this:
- m_pkOwner->ComputePoints();
- this->GiveBuff();
- this->GiveSkillBonus();
- replace with this:
- m_pkOwner->ComputePoints();
- this->GiveSkillBonus();
- Search GiveBuff()
- Replce with this
- void CPetActor::GiveBuff()
- {
- LPITEM item = ITEM_MANAGER::instance().FindByVID(m_dwSummonItemVID);
- if(NULL != item)
- item->ModifyPoints(true);
- return;
- }
- and in char.cpp
- Search this:
- CPetSystem* pPetSystem = GetPetSystem();
- if (NULL != pPetSystem)
- {
- pPetSystem->RefreshBuff();
- }
- and add after
- CNewPetSystem* zPetSystem = GetNewPetSystem();
- if (NULL != zPetSystem)
- {
- zPetSystem->RefreshBuff();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement