3069reported this bug
I created an On Swing skill, hoping it would activate when I hit an enemy while on Swing. However, On Swing doesn't work when it hits an enemy; instead, I have to move away from the enemy to activate it.
onSwingAttack:
Skills:
- onSwing{osw=oswSkill} @Self
oswSkill:
Skills:
- potion{type=SLOW;duration=200;level=4} @T
This approach is to ensure that when players press the left mouse button to attack, the effect is applied to the opponent, instead of using an onAttack skill triggered by other player attacks.