player is a Player objectbot.on('playerMelee', (player) => {
console.log(`${player.name} meleed!`);
});
If any damage was dealt, the playerDamage hook will have that value. Melee damages are 40 without the Egg Breaker effect and 255 with it.
player is a Player objectbot.on('playerMelee', (player) => {
console.log(`${player.name} meleed!`);
});
If any damage was dealt, the playerDamage hook will have that value. Melee damages are 40 without the Egg Breaker effect and 255 with it.