|
recoveryTask = TimerManager.getInstance().register(new Runnable() { |
|
@Override |
|
public void run() { |
|
if (getBuffSource(BuffStat.RECOVERY) == -1) { |
|
chrLock.lock(); |
|
try { |
|
if (recoveryTask != null) { |
|
recoveryTask.cancel(false); |
|
recoveryTask = null; |
|
} |
|
} finally { |
|
chrLock.unlock(); |
|
} |
|
|
|
return; |
|
} |
|
|
|
addHP(heal); |
|
sendPacket(PacketCreator.showOwnRecovery(heal)); |
|
getMap().broadcastMessage(Character.this, PacketCreator.showRecovery(id, heal), false); |
|
} |
|
}, healInterval, healInterval); |
this chunk is process about RECOVERY skill, but what if character has ZOMBIFY disease, is that process correct?
Cosmic/src/main/java/client/Character.java
Lines 4503 to 4524 in 78e9944
this chunk is process about
RECOVERYskill, but what if character hasZOMBIFYdisease, is that process correct?