Jump to content
  • 0

Enabling HighJump on noteleport mapflag


Lord Ganja

Question


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Since highjump fails on noteleport map, is it possible to enable use of highjump on a specific map with noteleport mapflag?


 


Example.


The pvp room in my server has noteleport mapflag since I don't want my players to use teleport inside the pvp room. But I wanted highjump to be enabled inside the pvp room..


 


 


From skill.c under case TK_HIGHJUMP:



//Fails on noteleport maps, except for GvG and BG maps [Skotlex]
if( map[src->m].flag.noteleport &&
!(map[src->m].flag.battleground || map_flag_gvg2(src->m))
) {

How do I add an exemption map with noteleport mapflag without removing the line 'map[src->m].flag.noteleport'?


Iwas thinking about adding something like this



map-[src->m].name == "pvp_room" || map[src->m].name == "pvp_room1"

So "pvp_room" & "pvp_room1" map has noteleport mapflag, highjump can still be used inside.


 


Thanks in advance!


Edited by Lord Ganja
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...