Jump to content
  • 0

[WTA] Change max refine on certain item


Question

Posted

Hi guys, its been a month/years not active on this forum . Im not sure it is right section or not . My Question is i want to change max refine on certain item . For Example like , 2 Item , Bow A and Bow B . 
Bow A = normal max refine which is 10 
Bow B = i want to change max refine to 6 or 7 only . 

Isit possible to make it ? or need to change on src ? 

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

It's possible with source modification. 

My only idea right now is creating a new Weapon Level so you can modify any weapon as you want.

So.... you need edit next:

Search in src/common/mmo.hpp

#define MAX_WEAPON_LEVEL 4

and replace with

#define MAX_WEAPON_LEVEL 6

src/map/clif.cpp

refine_item[3] = refine_item[4] = pc_search_inventory( sd, ITEMID_ORIDECON );

and add below

refine_item[6] = pc_search_inventory( sd, ITEMID_ORIDECON );

src/map/pc.cpp

if (sd->status.base_level > 96 && item->equip & EQP_ARMS && item->type == IT_WEAPON && item->weapon_level == 4)

replace number 4 to 6

if (sd->status.base_level > 96 && item->equip & EQP_ARMS && item->type == IT_WEAPON && item->weapon_level == 6)

db/pre-re/refine.yml put below Weapon Level 4

      - Level: 6
        RefineLevels:
          - Level: 1
            Bonus: 1500
            Chances:
              - Type: Normal
                Rate: 10000
                Price: 20000
                Material: Phracon
              - Type: Enriched
                Rate: 10000
                Price: 2000
                Material: Enriched_Oridecon

It should look like this:

image.png.aa962b8aa6db6dfdf3ff002bcf0a456d.png

So you can edit any item for example Knife (ID: 1201) which is Weapon Level 6.

  - Id: 1201
    AegisName: Knife
    Name: Knife
    Type: Weapon
    SubType: Dagger
    Buy: 50
    Weight: 400
    Attack: 17
    Range: 1
    Slots: 3
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 6
    EquipLevelMin: 1
    Refineable: true

 

You can put refine limit in refine.yml make sure you have your desired weapon is Weapon Level 6.

Additional comments:

- Refine Skill is not working for level 6 weapons.

- If your refine item limit is 7 you can refine more if you use command.

Edited by EIysium
  • 0
Posted (edited)

Nice idea bro , the only issue is we got custom script refiner , which can make instant +10 . isit gonna bypass max refine limit that you set to 6 ? 

Edited by DK77

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