forked from MagicBane/Server
starting of new power manager
This commit is contained in:
@@ -35,16 +35,6 @@ public class UsePowerJob extends AbstractScheduleJob {
|
||||
this.targetLiveCounter = targetLiveCounter;
|
||||
}
|
||||
|
||||
public UsePowerJob(PlayerCharacter pc, PerformActionMsg msg, int token, Power pb, int casterLiveCounter, int targetLiveCounter) {
|
||||
super();
|
||||
this.pc = pc;
|
||||
this.msg = msg;
|
||||
this.token = token;
|
||||
this.pb = pb;
|
||||
this.casterLiveCounter = casterLiveCounter;
|
||||
this.targetLiveCounter = targetLiveCounter;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doJob() {
|
||||
PowersManager.finishUsePower(this.msg, this.pc, casterLiveCounter, targetLiveCounter);
|
||||
|
||||
Reference in New Issue
Block a user