Advanced Refine Bonus – Add refine bonus script for each refine level – Free Code!

First, may I apologize about I wasn’t update PServeRO for long time, more than a month I release free modification. I was busy on my campus with some assignments and also with some works of paid request. Now, don’t worry, it doesn’t mean PServeRO is going to die, I’ve got some free source modifications to share, but I just need a really good times for it.

For now, I release this modification about adding script bonus for each refine level of each equipment type. Example, I have +10 Knife, you can decide if +10 weapon level 1 gets additional script bonus, maybe STR +5. This refine bonus, allow you to explore your imagination to write the script bonus, like on script, equip script, and unequip script on item_db. For that knife, you can add this script.

bonus bStr,10;

This refine bonus needs 1 file database to store the written script bonuses. It will be placed on db folder on your server. This db file has structure, namedΒ refine_bonus.txt

EquipType,Refine,{ Script }

and of course, you need write every line completely.

And here, a some looks of refine bonus does. πŸ˜€


Download Advanced Refine Bonus – Add refine bonus script for each refine level – Free Code!

Download Advanced Refine Bonus .patch file for eAthena

Download Advanced Refine Bonus .patch file for rAthena r17531

Download Advanced Refine Bonus .diff file for rAthena r17531 (Git diff format)

Download Advanced Refine Bonus .patch file for 3CeAM

*Above are Mediafire links*


Updated version for rAthena (git: 2015-02-07) is now available on PServeRO’s Git on Github!!!

In branch custom/PROJECT_REFINE_BONUS. Check src/config/core.h there’s #define PROJECT_REFINE_BONUS if you want lookup the code related this custom.

Tell your friends

10 Replies to “Advanced Refine Bonus – Add refine bonus script for each refine level – Free Code!”

  1. Follow Up. How about putting specific type or armor/headgear?

    // – 0 : Armor
    // – 1 : Weapon Level 1
    // – 2 : Weapon Level 2
    // – 3 : Weapon Level 3
    // – 4 : Weapon Level 4
    // – 5 : Shadow Weapon (Level 1)
    // – 6 : Shadow Weapon (Level 2)
    // – 7 : Shadow Weapon (Level 3)
    // – 8 : Shadow Weapon (Level 4)
    // – 9 : Shadow Armor
    // – 10 : Upper Headgear
    // – 11 : Lower Headgear
    // – 12 : Middle Headgear
    // – 13 : Shield
    // – 14 : Shoes
    // – 15 : Garment

    ???

  2. Hello, I kinda like this one but unfortunately some warnings are showing up and pointing me here

    +// Refine bonus [Cydh]
    +static struct s_refine_bonus {
    + struct script_code *script;
    +} refine_bonus[REFINE_TYPE_MAX][MAX_REFINE];
    +

Leave a Reply