Jump to content

Recommended Posts

Posted (edited)
Hi,
 
   In the old forum of eathena there was a very cool mod that did the following:
 
You can buy items from a certain NPC that sell them as a Battleground Items, which you can use just inside of Battleground and other approved mapflag: "bg_consume".
 
Here I do a release of the updated script compatible with rAthena (eAthena's patch is comming):
 
Important: You need to create a character named "Battleground" and set the apropiate char id in the src: yes hard coded.
 
in: src/map/battleground.h
 

//Brian Bg Items - updated by [AnubisK]
#define BG_CHARID 165100 // char named "Battleground" // you can change the character id.
#define BG_TRADE 91 // trade mask of BG consumables // You can edit the mask
 

Known bugs:
If you have in your inventary Bg items and normal items plus you are outside of battleground or bg_consume maps, you will not be able to use the items.
 
Example:
Imagine that you are in map prontera:
 
You have "1 Battleground Blue Gemstone" and one normal "Blue Gemstone"
If you use "Warp portar", the skill will fail, because reads first the BG item.
 
 
 
 
Note: I'm not the Autor, I just did a patch compatible with rAthena that is the only credit I can get. The credits of for the original idea must go to (as fas as I know) Brian one of the devs (http://rathena.org/board/user/237-brian/).
 
Plesae inform any bug you find
 
 
Edited by Anubis-K
  • Like 1
  • 3 years later...
  • 5 years later...

Join the conversation

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

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

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