Hi, asking for help on how to implement infinite combo ability time for HeavenMS.
I already changed the time between valid combos to a larger number, I set 300000 as the number between combos, so even when I hit the enemies after let's say 1 minute I still retain my combo count.
The combo ability (Skill that adds stat points whenever I reach 10 combo count) however disappear simultaneously with the fade out of the combo count number shown on screen. Should I just change some number on the Skill.wz? or is this client side edit?Code:public class AranComboHandler extends AbstractPacketHandler { @Override public void handlePacket(InPacket p, Client c) { final Character player = c.getPlayer(); int skillLevel = player.getSkillLevel(SkillFactory.getSkill(Aran.COMBO_ABILITY)); if (GameConstants.isAran(player.getJob().getId()) && (skillLevel > 0 || player.getJob().getId() == 2000)) { final long currentTime = currentServerTime(); short combo = player.getCombo(); if ((currentTime - player.getLastCombo()) > 300000 && combo > 0) { combo = 0; } combo++; if (combo >= 10){ int comboLevel = Math.min(combo / 10, skillLevel); SkillFactory.getSkill(Aran.COMBO_ABILITY).getEffect(comboLevel).applyComboBuff(player, combo); } player.setCombo(combo); player.setLastCombo(currentTime); } } }
I wanted to achieve here is when the combo count faded out I still retain the stat the combo ability gives me. I'm thinking it may be connected to the COMBO_ABILITY skill duration or something in Client Side.
![]()



Reply With Quote

