getSkillReuseTimeStamps().put(skillId, new SkillTimeStamp(skillId, endTime, rDelayOrg));
disableItem(skill, rDelayOrg, endTime - curTime);
}
}
DatabaseUtils.closeStatement(statement);
statement = con.createStatement();
statement.executeUpdate("DELETE FROM character_skills_save WHERE char_obj_id = " + getObjectId() + " AND class_index=" + getActiveClassId() + " AND `end_time` < " + System.currentTimeMillis());
}
catch(Exception e)
{
_log.warning("Could not restore active skills data for " + getObjectId() + "/" + getActiveClassId());