• 0
jmerfin

[HELP!] Refine to +100 and Unlimited Ammo

Question

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

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 1
/**
* 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
};

Share this post


Link to post
Share on other sites
  • 1

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
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!

Share this post


Link to post
Share on other sites
  • 0

You didn't look hard enough.

 

 

Share this post


Link to post
Share on other sites
  • 0
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? 

Share this post


Link to post
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.

Loading...