From 9f8c643cf44c5af43044372155b88e75a6cea8f8 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sun, 5 Apr 2020 11:54:18 +0200 Subject: [PATCH] Filter/Criteria fixed * Quest: class/race-specific * NPC: skinnable --- includes/types/creature.class.php | 2 +- includes/types/quest.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/types/creature.class.php b/includes/types/creature.class.php index cc1f7f2e..46a42d7e 100644 --- a/includes/types/creature.class.php +++ b/includes/types/creature.class.php @@ -296,7 +296,7 @@ class CreatureListFilter extends Filter 7 => [FILTER_CR_CALLBACK, 'cbQuestRelation', 'startsQuests', 0x1 ], // startsquest [enum] 8 => [FILTER_CR_CALLBACK, 'cbQuestRelation', 'endsQuests', 0x2 ], // endsquest [enum] 9 => [FILTER_CR_BOOLEAN, 'lootId', ], // lootable - 10 => [FILTER_CR_BOOLEAN, 'cbRegularSkinLoot', NPC_TYPEFLAG_SPECIALLOOT ], // skinnable [yn] + 10 => [FILTER_CR_CALLBACK, 'cbRegularSkinLoot', NPC_TYPEFLAG_SPECIALLOOT ], // skinnable [yn] 11 => [FILTER_CR_BOOLEAN, 'pickpocketLootId', ], // pickpocketable 12 => [FILTER_CR_CALLBACK, 'cbMoneyDrop', null, null ], // averagemoneydropped [op] [int] 15 => [FILTER_CR_CALLBACK, 'cbSpecialSkinLoot', NPC_TYPEFLAG_HERBLOOT, null ], // gatherable [yn] diff --git a/includes/types/quest.class.php b/includes/types/quest.class.php index 4ef1e8b5..532e5aad 100644 --- a/includes/types/quest.class.php +++ b/includes/types/quest.class.php @@ -457,7 +457,7 @@ class QuestListFilter extends Filter 34 => [FILTER_CR_CALLBACK, 'cbAvailable', null, null], // availabletoplayers [yn] 36 => [FILTER_CR_FLAG, 'cuFlags', CUSTOM_HAS_VIDEO ], // hasvideos 37 => [FILTER_CR_CALLBACK, 'cbClassSpec', null, null], // classspecific [enum] - 37 => [FILTER_CR_CALLBACK, 'cbRaceSpec', null, null], // racespecific [enum] + 38 => [FILTER_CR_CALLBACK, 'cbRaceSpec', null, null], // racespecific [enum] 42 => [FILTER_CR_STAFFFLAG, 'flags' ], // flags 43 => [FILTER_CR_CALLBACK, 'cbCurrencyReward', null, null], // currencyrewarded [enum] 44 => [FILTER_CR_CALLBACK, 'cbLoremaster', null, null], // countsforloremaster_stc [yn]