Just kidding, I thought I fixed it but I didn't.
What I don't understand is the Teleport Mastery doesn't go through closeRangeAttack() in PlayerHandler, but it does go through parseDmgM() in DamageParse. All parseDmgM() does is return the packet information, and applyAttack() is never called (it's called in closeRangeAttack()) so the attack is not applied. Is there something I'm missing, or is there a fundamental process I'm missing, i.e if the skill is registered as a buff, it will not be sent to PlayerHandler?
The weird thing is - I add a debug line in both closeRangeAttack() and parseDmgM(), the one in parseDmgM() is called but not the one in closeRangeAttack(). Even though the only time parseDmgM() is ever called is inside of closeRangeAttack().
*I realized a mistake in my debug logic - will update when I try again.
**Nope, I even removed any skill id checks, and nothing prints out when I add
PHP Code:
System.out.println("Test");
into closeRangeAttack(). It is never called, but parseDmgM() is.
***Lol nevermind, just found out I accidently made two checks for if(ret.skill == TM) and wrote lea.skip(4) twice.