Quest/Condition

* fix quest display for reputation restricted quests
 * also check sources from externaly added conditions
This commit is contained in:
Sarjuuk
2025-03-01 21:40:25 +01:00
parent 337eddcc0b
commit 4fe930cdca
2 changed files with 5 additions and 2 deletions

View File

@@ -288,6 +288,9 @@ class Conditions
while (substr_count($groupKey, ':') < 3)
$groupKey .= ':0'; // pad with missing srcEntry, SrcId, cndTarget to group key
if (!$this->prepareSource($srcType, ...explode(':', $groupKey)))
return;
if ($c = $this->prepareCondition($cId, $cVal1, $cVal2, $cVal3))
{
if ($orGroup)