Jump to content

Block buff to other in a specific map index


Recommended Posts

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

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

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