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?
Question
OscarScorp
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.