1package com.runehive.content.activity.randomevent.impl;
3import com.runehive.net.packet.out.SendMessage;
4import com.runehive.game.Animation;
5import com.runehive.game.world.entity.mob.player.Player;
6import com.runehive.content.activity.randomevent.RandomEvent;
7import com.runehive.content.event.impl.NpcInteractionEvent;
8import com.runehive.game.world.items.Item;
39 if (
event.getOpcode() == 0) {
40 player.dialogueFactory.sendStatement(
"You have been given a reward from the Drill Demon.").onAction(() -> {
41 player.dialogueFactory.clear();
45 }
else if (
event.getOpcode() == 1) {
63 "Attention, %name! I have something for you.",
64 "%name! I said I have something for you!",
65 "You are starting to really get my angry %name!",
66 "You're going to regret ignoring me, %name!"
final void finishCooldown()
Sets the cooldown flag to FINISH.
Player player
The player instance.
Npc eventNpc
The event npc.
boolean angered
Flag if the event is angered.
RandomEvent(Player player, int cooldown)
Constructs a new RandomEvent.
String[] eventNpcShout()
The event npc shout messages.
DrillDemonEvent(Player player)
Constructs a new DrillDemonEvent.
boolean clickNpc(Player player, NpcInteractionEvent event)
int eventNpcIdentification()
The event npc identification.
static DrillDemonEvent create(Player player)
Creates a new Mime event.
Class that models a single animation used by an entity.
This class represents a character controlled by a player.
The container class that represents an item that can be interacted with.
The OutgoingPacket that sends a message to a Players chatbox in the client.