Jump to content

[HELP] Mount Attack Source


Recommended Posts

Open pvp.cpp and search for this:

bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)

Then scroll down and you will find this:

      switch( pkChr->GetMountVnum() )
        {
            case 0:
            case 20030:
            case 20110:
            case 20111:
            case 20112:
            case 20113:
            case 20114:
            case 20115:
            case 20116:
            case 20117:
            case 20118:
                // this line separes the vnums
            case 20205:
            case 20206:
            case 20207:
            case 20208:
            case 20209:
            case 20210:
            case 20211:
            case 20212:
            case 20119:        
            case 20219:        
            case 20220:        
            case 20221:       
            case 20222:       
            case 20120:
            case 20121:
            case 20122:
            case 20123:
            case 20124:
            case 20125:
            case 20214:          
            case 20215:           
            case 20217:         
            case 20218:        

and add for example after 20218

case 20500: // New mount vnum.

If i mistake something , i`m sorry. I am still learning C++.

       

  • Love 3
Link to comment
Share on other sites

Open pvp.cpp and search for this:

bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)

Then scroll down and you will find this:

      switch( pkChr->GetMountVnum() )
        {
            case 0:
            case 20030:
            case 20110:
            case 20111:
            case 20112:
            case 20113:
            case 20114:
            case 20115:
            case 20116:
            case 20117:
            case 20118:
                // this line separes the vnums
            case 20205:
            case 20206:
            case 20207:
            case 20208:
            case 20209:
            case 20210:
            case 20211:
            case 20212:
            case 20119:        
            case 20219:        
            case 20220:        
            case 20221:       
            case 20222:       
            case 20120:
            case 20121:
            case 20122:
            case 20123:
            case 20124:
            case 20125:
            case 20214:          
            case 20215:           
            case 20217:         
            case 20218:        

and add for example after 20218

case 20500: // New mount vnum.

If i mistake something , i`m sorry. I am still learning C++.

Not work :(

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 4

      Feeding game source to LLM

    2. 0

      Quest 6/7 Problem

    3. 5

      Effect weapons

    4. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    5. 3

      Crystal Metinstone

    6. 4

      Feeding game source to LLM

    7. 113

      Ulthar SF V2 (TMP4 Base)

    8. 4

      Feeding game source to LLM

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.