rifqithea 0 Posted February 7, 2016 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 Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted February 7, 2016 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); Quote Share this post Link to post Share on other sites
0 rifqithea 0 Posted February 7, 2016 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 src/map/pc.cFind 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.. Quote Share this post Link to post Share on other sites
0 Blinzer 6 Posted February 19, 2016 You need to compile after you make a source code change. Quote Share this post Link to post Share on other sites
0 Garr 117 Posted February 19, 2016 I think he meant it a bit differently than what Dastgir suggested. I'd say he needs to change battle.c: Line 1047 change (100 - ele_fix) into (120 - ele_fix) Same in lines 1215 and 1275. Quote Share this post Link to post Share on other sites
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