SHARE
TWEET

Untitled

a guest Jun 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Search in Petsystem.cpp this:
  2. m_pkOwner->ComputePoints();
  3.     this->GiveBuff();
  4.     this->GiveSkillBonus();
  5.  
  6. replace with this:
  7. m_pkOwner->ComputePoints();
  8.     this->GiveSkillBonus();
  9.  
  10. Search GiveBuff()
  11.  
  12. Replce with this
  13. void CPetActor::GiveBuff()
  14. {
  15.     LPITEM item = ITEM_MANAGER::instance().FindByVID(m_dwSummonItemVID);
  16.     if(NULL != item)
  17.         item->ModifyPoints(true);
  18.     return;
  19. }
  20.  
  21. and in char.cpp
  22. Search this:
  23. CPetSystem* pPetSystem = GetPetSystem();
  24.     if (NULL != pPetSystem)
  25.     {
  26.         pPetSystem->RefreshBuff();
  27.     }
  28.  
  29.  
  30. and add after
  31. CNewPetSystem* zPetSystem = GetNewPetSystem();
  32.     if (NULL != zPetSystem)
  33.     {
  34.         zPetSystem->RefreshBuff();
  35.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top