Skip to content

ZOMBIFY stat calc #292

@anonymous5l

Description

@anonymous5l

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions