Jump to content
  • 0

Custom Effect (and Resistance on ItemDB)


OscarScorp

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

Good day,
I'm looking for help on creating a custom status effect, such as a new Poison status and to add Resistance on item_db.txt such as:

bonus2 bResEff,Eff_Venom,1000;

I already have added the Status on files such as status.h, status.c, even on skill.cpp which where is triggered and it works just fine.

I also added on scripts_constants.h:

export_constant2("Eff_Burning",SC_BURNING);
export_constant2("Eff_Crystalize",SC_CRYSTALIZE);
export_constant2("Eff_Ignite",SC_VENOM); //Here's the new status

And on status.h:

SC_BLIND,
SC_BLEEDING,
SC_DPOISON, //10
SC_VENOM, //11 Here's the new status.
SC_COMMON_MAX = 11, // end. Original: 10

Problem is, if I want to add an equipment such as a Helmet which grants resistance to this new custom effect, it appears it does not grants the resistance on the item, even if I increased it to bonus2 bResEff,Eff_Venom,10000; which should make it 100% resitant, right?

Any help will be appreciated.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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