Jump to content
  • 0
rifqithea

Element Reistance Cap Change ?

Question

Hellow All of Hercules Master

I want to ask what should i change to make my element resist cap become 120%

im new on herc i need this to implement on my server please help me hehe :)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

src/map/pc.c

Find

sd->subele[i] += val;
Replace with

sd->subele[i] += min(sd->subele[i]+val, 120);

Find

sd->subele[type2] += val;
Replace with

sd->subele[type2] = min(sd->subele[type2]+val, 120);

Share this post


Link to post
Share on other sites
  • 0

hmmm thanks for reply..

BTW i try this but when i use 100% al elemnt card resist people still miss when attacking hmm

doest work it should have 20% damage more..

please help me more :D



 

src/map/pc.c
Find

sd->subele[i] += val;
Replace with
sd->subele[i] += min(sd->subele[i]+val, 120);

Find
sd->subele[type2] += val;
Replace with
sd->subele[type2] = min(sd->subele[type2]+val, 120);

i mean normal element to miss is 100% i want it to become 120% to make element miss i try this still cap at 100 hmm..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.