Jump to content
  • 0

[HELP!] Refine to +100 and Unlimited Ammo


Question

Posted

Guyz., Please help, I am making an offline server and I need to make the ammo's unlimited.  /sob 
example: I only equip 1 holy arrow and it should be shooting unlimited and not depending on how many arrows the character have.

and also, I want to make the refine limit of all equipment to +100.,

6 answers to this question

Recommended Posts

  • 1
Posted
/**
* Max Refine available to your server
* Changing this limit requires edits to refine_db.txt
**/
#ifdef RENEWAL
# define MAX_REFINE 20
#else
# define MAX_REFINE 10
#endif

enum refine_type {
REFINE_TYPE_ARMOR   = 0,
REFINE_TYPE_WEAPON1 = 1,
REFINE_TYPE_WEAPON2 = 2,
REFINE_TYPE_WEAPON3 = 3,
REFINE_TYPE_WEAPON4 = 4,

REFINE_TYPE_MAX     = 5
};
  • 1
Posted

here.

 

trunk/conf/battle/battle.conf

and find

 

// Are arrows/ammo consumed when used on a bow/gun?
// 0 = No
// 1 = Yes
// 2 = Yes even for skills that do not specify arrow consumption when said 
//     skill is weapon-based and used with ranged weapons (auto-guesses which 
//     skills should consume ammo when it's acquired via a card or plagiarize)
arrow_decrement: 0

  • Love 1
  • 0
Posted (edited)

Hey jmerfin, you can find the unlimited ammo on your conf folder (am I right?). Try searching it on rAthena first and not posting it here unless you know there's no solution to your problem. Thanks

Edited by Fii
  • 0
Posted
17 hours ago, Fii said:

Hey jmerfin, you can find the unlimited ammo on your conf folder (am I right?). Try searching it on rAthena first and not posting it here unless you know there's no solution to your problem. Thanks

I did try searching it on my files and database first and did post here because I didn't saw it., unless you know the solution my problem, you could help., Thnx!

  • 0
Posted
On 1/18/2017 at 7:18 PM, chibikyle said:

/**
* Max Refine available to your server
* Changing this limit requires edits to refine_db.txt
**/
#ifdef RENEWAL
# define MAX_REFINE 20
#else
# define MAX_REFINE 10
#endif

enum refine_type {
REFINE_TYPE_ARMOR   = 0,
REFINE_TYPE_WEAPON1 = 1,
REFINE_TYPE_WEAPON2 = 2,
REFINE_TYPE_WEAPON3 = 3,
REFINE_TYPE_WEAPON4 = 4,

REFINE_TYPE_MAX     = 5
};

where shud I post this? 

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.

  • Recently Browsing   0 members

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