logo bannerlogo banner
Page Navigator
  • player is a Player object
bot.on('playerMelee', (player) => {
    console.log(`${player.name} meleed!`);
});
Note

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.