mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Quick patch (#316)
- Fixed npc drops/anims - Fixed some combat sounds that were not working - Made Kalphite Queen a multi area
This commit is contained in:
committed by
Daniel Ginovker
parent
bc4320ee68
commit
32bbf1e003
@@ -61,7 +61,7 @@ public class CombatAssistant {
|
||||
NpcHandler.npcs[i].animUpdateRequired = true;
|
||||
NpcHandler.npcs[i].updateRequired = true;
|
||||
}
|
||||
if (CombatConstants.COMBAT_SOUNDS && NpcHandler.npcs[i].npcType < 3177 && NpcHandler.npcs[i].npcType > 3180) {
|
||||
if (CombatConstants.COMBAT_SOUNDS) {
|
||||
c.getPacketSender().sendSound(CombatSounds.getNpcBlockSound(NpcHandler.npcs[c.oldNpcIndex].npcType), 100, 0);
|
||||
}
|
||||
NpcHandler.npcs[i].facePlayer(c.playerId);
|
||||
@@ -644,9 +644,7 @@ public class CombatAssistant {
|
||||
return;
|
||||
}
|
||||
if (c.usingRangeWeapon || c.usingBow
|
||||
&& CombatConstants.COMBAT_SOUNDS
|
||||
&& NpcHandler.npcs[i].npcType < 3177
|
||||
&& NpcHandler.npcs[i].npcType > 3180) {
|
||||
&& CombatConstants.COMBAT_SOUNDS) {
|
||||
c.getPacketSender().sendSound(SoundList.SHOOT_ARROW,
|
||||
100, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user