Matheus Vieira
Member
- Joined
- Apr 11, 2015
- Messages
- 102
- Reaction score
- 6
0.4
Hello guys, Im trying to understand how to use onAttack or onCombat for the following request:
I want to check when a player hits a mob with his base attack, like using a sword. So, if i use onAttack, how do I make the game acknowledge the hit?
The mindset behind this is something like this: When a player hits someone, it will happen something.
Do i need to use onAttack or onCombat?
Thank you.
Hello guys, Im trying to understand how to use onAttack or onCombat for the following request:
I want to check when a player hits a mob with his base attack, like using a sword. So, if i use onAttack, how do I make the game acknowledge the hit?
The mindset behind this is something like this: When a player hits someone, it will happen something.
Do i need to use onAttack or onCombat?
Thank you.