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

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

  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.

Loading...

×
×
  • Create New...

Important Information

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