I have also changed the nk (skill type?) of dragonbreath in skill_db to 0x62, thus the skill ignores target's DEF and has no miss.
However, after these changes, the dragon breath seems neutral attack (in skill_db it is still set as fire, or water for the breath water), there is no elemental fix involved in the damage.
It would be greatly appreciated if someone could help me to add the elemental modifier, or pointed out where I have missed for merging this new formula.
As you may know, iRO implemented the new dragon breath formula, which is stated in the iro wiki as:
So I think the difference is the new formula takes these range, elemental and racial modifiers into account.
It seems this formula was recently implemented in rathena (BF_WEAPON TYPE), while hercules is still using the old formula (BF_MISC TYPE).
I have tried to merge rathena's new formula into Hercules, but encountered several problems.
The changes I have made in code are:
"/src/map/skill.c" , changed BF_MISC to BF_WEAPON
"/src/map/battle.c", delete the original formula in misc type, add the new formula in weapon type
old:
new:
I have also changed the nk (skill type?) of dragonbreath in skill_db to 0x62, thus the skill ignores target's DEF and has no miss.
However, after these changes, the dragon breath seems neutral attack (in skill_db it is still set as fire, or water for the breath water), there is no elemental fix involved in the damage.
It would be greatly appreciated if someone could help me to add the elemental modifier, or pointed out where I have missed for merging this new formula.
Share this post
Link to post
Share on other sites