Jump to content
  • 0

Changing effect for elemental stones on forged weapons.


Erebos

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   4
  • Joined:  10/25/18
  • Last Seen:  

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!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   3
  • Joined:  04/29/14
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   4
  • Joined:  10/25/18
  • Last Seen:  

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.

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

×
×
  • Create New...