I am a programmer, but new to the ragnarok emulation scene.
I'm trying to understand the code structure, or logic, that Hercule's use, for skills at least.
What do I mean by that? Taking as example the skill Grimtooth, a skill that activate a damage trigger in a cell line between the caster and the target. But I can't find where this logic actually happens, all that I can find in the source code is literaly a reference to the name of the skill, but nothing about its logic.
Looking at the DB files I'm able to understand that the skills are defined by categories, but in the same category there are plenty of skills with different behaviors. Again with the same example of Grimtooth, wich is a target skill, but with a "aoe" effect... I simply cannot understand where the logic for the skills specificities happens.
I'm hoping that my question actually makes any sense,
Thanks in advance,