Jump to content
  • 0

Block buff to other in a specific map index


Dagon

Question

3 answers to this question

Recommended Posts

  • 0
On 09.05.2016 at 11:46 AM, Dagon said:

Hi metin2dev.

 

I need to block in tournament pvp the buff to other char in a specific index map.

How can i do this?

Thanks in advance

if you using game source its very simple:

open game/src/char_skill.cpp

search (i think should starting at line 1997 ) :

Spoiler

    // 상대방에게 쓰는 것이 아니면 나에게 써야 한다.
    if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
        pkVictim = this;

add below:

Spoiler

 

    if (pkVictim->GetMapIndex() == 28 && pkSk->dwVnum == 94 && pkSk->dwVnum == 95 && pkSk->dwVnum == 96 && pkSk->dwVnum == 109 && pkSk->dwVnum == 110 && pkSk->dwVnum == 111 )
        pkVictim = this;

 

its 28 is my arena map index.I tested and working.

  • Love 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 3

      Once upon a time...

    2. 1183

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Once upon a time...

    4. 3

      Once upon a time...

    5. 0

      problem ability

    6. 0

      Transmutation system error "unknow command server"

    7. 39

      Official Transmutation / Change Look

  • 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.