Administrator xpro Posted October 29 Administrator Share Posted October 29 Hi, I'll show you what to do so that you do not repel specific monsters ( from a horse or from a shoe ). GameLib/ActorInstanceBattle.cpp Find: bool IS_HUGE_RACE(unsigned int vnum)) { ... } Add after: bool IS_BLOCK_ANTIKNOCK(unsigned int vnum) { const CPythonNonPlayer::TMobTable * pMobTable = CPythonNonPlayer::Instance().GetTable(vnum); int iMobRank = 0; if (pMobTable) iMobRank = pMobTable->bRank; if (iMobRank == 5) return true; return false; } Find: extern bool IS_HUGE_RACE(unsigned int vnum); if (IS_HUGE_RACE(rkActorDst.GetRace())) return false; Add after: if (IS_BLOCK_ANTIKNOCK(rkActorDst.GetRace())) return false; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.