It's a big change to go from calculating damage just before hitsplat appears and calculating damage once the animation appears. You'll need to know exactly how your combat system works before you even think about attempting this.
You can copy how i did it on my release, http://www.rune-server.org/runescape...ing-based.html