Hey,
I am moving from eAthena server based to Hercules.
And i need to move all my source edit to Hercules and i decided to do it the right way and use the HPM.
I read the wiki and check some example but i don't seems to understand how it works.
so i will just get example for something i need and i will try to learn from that.
i want to add to PA_PRESSURE Maximum damage value.
so my old Source edit is this:
case PA_PRESSURE:
md.damage=500+300*skill_lv;
if (md.damage > 2000){md.damage=2000;}
This is under battle.c -> battle_calc_misc_attack
Line 4010 on latest Hercules .
how can i make it in plugin?
I am moving from eAthena server based to Hercules.
And i need to move all my source edit to Hercules and i decided to do it the right way and use the HPM.
I read the wiki and check some example but i don't seems to understand how it works.
so i will just get example for something i need and i will try to learn from that.
i want to add to PA_PRESSURE Maximum damage value.
so my old Source edit is this:
case PA_PRESSURE:
md.damage=500+300*skill_lv;
if (md.damage > 2000){md.damage=2000;}
This is under battle.c -> battle_calc_misc_attack
Line 4010 on latest Hercules .
how can i make it in plugin?
Last edited by a moderator: