Jump to content
  • 0

Doubt - Level Temporary


lupus

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  01/19/13
  • Last Seen:  

I want to make an event PvP arena, where all players who enter it temporarily gain the max level of the game and go to battle. 

After the event finished, all return to its normal level. Gave a searched on Google and found nothing about it ... someone can tell me a reference function, manual link or any material that allow me to do something like that?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   7
  • Joined:  02/27/12
  • Last Seen:  

Here's a sample script:

prontera,170,164,1    script    Max Pvp    726,{ // Change to your NPC
set @MP_Level, 99 - BaseLevel;
warp "prontera",0,0; // Change to your PVP map
goto MP_Start;
end;

MP_Start:
atcommand "#blevel "+strcharinfo(0)+" "+@MP_Level+"";
end;

OnPCLogoutEvent:
OnPCDieEvent: // When they die or logout, it will revert their original level
if (strcharinfo(3) == "prontera") { // Change to your PVP map
atcommand "#blevel "+strcharinfo(0)+" -"+@MP_Level+"";
end;
}

}
Edited by Jyabil
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  01/19/13
  • Last Seen:  

Bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  01/19/13
  • Last Seen:  

 

Here's a sample script:

prontera,170,164,1    script    Max Pvp    726,{ // Change to your NPC
set @MP_Level, 99 - BaseLevel;
warp "prontera",0,0; // Change to your PVP map
goto MP_Start;
end;

MP_Start:
atcommand "#blevel "+strcharinfo(0)+" "+@MP_Level+"";
end;

OnPCLogoutEvent:
OnPCDieEvent: // When they die or logout, it will revert their original level
if (strcharinfo(3) == "prontera") { // Change to your PVP map
atcommand "#blevel "+strcharinfo(0)+" -"+@MP_Level+"";
end;
}

}

 

Very Thx ^^ 

I have read and understood the idea of the script. I did some research and managed to find the functions you need to not let this turn into a "Free Reset". 

Thank you very much!
Edited by lupus
Link to comment
Share on other sites

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