Jump to content
  • 0

Changing effect for elemental stones on forged weapons.


Question

Posted

Hi guys, I'm trying to change some things on the forging system. I have managed to change the atk type of star crumbs, but I need support on how to do the following:
- Remove Flame Heart, Mystic Frozen, etc... weapon atribute change, so it does not change the forged weapon's element anymore.

- Add effects like from item_bonus.txt in source. Specifically, I want to know how to call the bonuses for ATK%, MATK%, Freezing chance(marina/stormy knight effect. Not frosty misty effect), and other basic status like ASPD, Flee, Def/MDEF.

Thanks!

2 answers to this question

Recommended Posts

  • 0
Posted

Not a specific guide, more of pointing to a general direction.

 

Quote

- Remove Flame Heart, Mystic Frozen, etc... weapon atribute change, so it does not change the forged weapon's element anymore.

You'll probably want to look at skill_produce_mix function in skill.cpp. There are a few blocks in that function that is responsible for setting elements on forged weapons.

 

Quote

- Add effects like from item_bonus.txt in source. Specifically, I want to know how to call the bonuses for ATK%, MATK%, Freezing chance(marina/stormy knight effect. Not frosty misty effect), and other basic status like ASPD, Flee, Def/MDEF.

This is a good resource to add new item bonuses on the src side.

  • 0
Posted
4 hours ago, Dazzu said:

Not a specific guide, more of pointing to a general direction.

 

You'll probably want to look at skill_produce_mix function in skill.cpp. There are a few blocks in that function that is responsible for setting elements on forged weapons.

 

This is a good resource to add new item bonuses on the src side.

Thanks for your answer.
I successfully removed the elements when forging but the weapons lose the Fire/Ice/Earth/Wind prefix, any idea how can i maintain that?

About the item bonus, i'm not trying to create new item bonuses, i'm trying to use the already existing ones that you can use on items scripts as a replacement of the weapon element when using elemental stones when forging.

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