Fixed skill bar casting.

Contributed by manax182.
This commit is contained in:
MobiusDevelopment 2021-04-28 21:04:07 +00:00
parent 84e9ea8d34
commit 48c5bb5809
2 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,7 @@ public class MagicSkillUse implements IClientOutgoingPacket
packet.writeD(_target.getZ());
packet.writeD(_actionId >= 0 ? 0x01 : 0x00); // 1 when ID from RequestActionUse is used
packet.writeD(_actionId >= 0 ? _actionId : 0); // ID from RequestActionUse. Used to set cooldown on summon skills.
packet.writeD(-1); // 306
return true;
}
}

View File

@ -113,6 +113,7 @@ public class MagicSkillUse implements IClientOutgoingPacket
packet.writeD(_target.getZ());
packet.writeD(_actionId >= 0 ? 0x01 : 0x00); // 1 when ID from RequestActionUse is used
packet.writeD(_actionId >= 0 ? _actionId : 0); // ID from RequestActionUse. Used to set cooldown on summon skills.
packet.writeD(-1); // 306
return true;
}
}