forked from MagicBane/Server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
3 years ago
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||
|
// Magicbane Emulator Project © 2013 - 2022
|
||
|
// www.magicbane.com
|
||
|
|
||
|
|
||
|
package engine.jobs;
|
||
|
|
||
|
import engine.gameManager.PowersManager;
|
||
|
import engine.job.AbstractJob;
|
||
|
import engine.net.client.msg.PerformActionMsg;
|
||
|
import engine.objects.PlayerCharacter;
|
||
|
|
||
|
public class FinishCooldownTimeJob extends AbstractJob {
|
||
|
|
||
|
PlayerCharacter pc;
|
||
|
PerformActionMsg msg;
|
||
|
|
||
|
public FinishCooldownTimeJob(PlayerCharacter pc, PerformActionMsg msg) {
|
||
|
super();
|
||
|
this.pc = pc;
|
||
|
this.msg = msg;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void doJob() {
|
||
|
PowersManager.finishCooldownTime(this.msg, this.pc);
|
||
|
}
|
||
|
}
|