mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[GH-ISSUE #223] The guards at Ardougne are aggressive #9984
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gptaqbc on GitHub (Nov 30, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/223
@DPSCryptic commented on GitHub (Nov 30, 2019):
must have happened while someone worked on some aggression issues, wasnt before
@Gptaqbc commented on GitHub (Nov 30, 2019):
It is indeed related to the rework that was done on the aggressive monsters. I'll provide the ID asap!
@Gptaqbc commented on GitHub (Nov 30, 2019):
ID = 32. Only aggressive when cmb level is < 2X npc level
@DPSCryptic commented on GitHub (Nov 30, 2019):
maybe we should make zones where that counts, like bank zones
@mrextremez commented on GitHub (Dec 5, 2019):
From testing it a bit it looks like only one of the guards are aggressive and not any of the others. Very strange given that they are all the same npc id from what I can tell
@Gptaqbc commented on GitHub (Dec 5, 2019):
That's funny
@Gptaqbc commented on GitHub (Jan 14, 2020):
What if we simply remove that NPC spawn?
@mrextremez commented on GitHub (Jan 17, 2020):
I suppose you could do that lol
@SandroCoutinho commented on GitHub (Aug 5, 2020):
Issue was caused due to the wrong parameter being given to 2 different methods.
#getNpcListAggressivewas grabbing the mugger's id(175) instead of the guard's one(32).class#line:
NpcHandler#552boolean aggressive = (NpcAggressive.isAggressive(i) || getNpcListCombat(npcs[i].npcType) * 2 > client.combatLevel && getNpcListAggressive(i));Fix:
boolean aggressive = (NpcAggressive.isAggressive(npcs[i].npcType) || getNpcListCombat(npcs[i].npcType) * 2 > client.combatLevel && getNpcListAggressive(npcs[i].npcType));