mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-08-13 15:53:47 -04:00
#74 - Prospect Message / Fatigue Comment
This commit is contained in:
parent
78030c3c6e
commit
136db161e1
@ -168,7 +168,7 @@ public final class Player extends Mob {
|
||||
private int[] exp = new int[18];
|
||||
|
||||
/**
|
||||
* Amount of fatigue - 0 to 100
|
||||
* Amount of fatigue - 0 to 750
|
||||
*/
|
||||
private int fatigue = 0;
|
||||
|
||||
|
@ -62,12 +62,13 @@ public class Mining implements ObjectListener {
|
||||
}
|
||||
final InvItem ore = new InvItem(def.getOreId());
|
||||
if (owner.getClick() == 1) {
|
||||
owner.getActionSender().sendMessage("You examine the rock for ores...");
|
||||
Instance.getDelayedEventHandler()
|
||||
.add(new MiniEvent(owner, 1000) {
|
||||
@Override
|
||||
public void action() {
|
||||
owner.getActionSender().sendMessage(
|
||||
"This rock contains " + ore.getDef().getName() + ".");
|
||||
"This rock contains " + ore.getDef().getName());
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user