Core/Conditions

* minor rework
 * fixed columns of tab item loot
 * fixed lookup of classes/races (as they are the only type used as bitmask)
 * implemented reverse lookups everywhere (arguably class, race and skill are too spammy)
 * reverse lookups no longer contain redundant data
 * changed how the groupKey is set, so there are no more cases that can't be looked up
 * fixes #273

 * title: added tab 'criteria-of'
This commit is contained in:
Sarjuuk
2024-07-06 03:37:05 +02:00
parent 0f6b8015a1
commit be7a84a651
16 changed files with 193 additions and 86 deletions

View File

@@ -267,7 +267,7 @@ class EventPage extends GenericPage
// tab: condition for
$cnd = new Conditions();
if ($cnd->getByCondition(Type::WORLDEVENT, $this->typeId))
if ($cnd->getByCondition(Type::WORLDEVENT, $this->typeId)->prepare())
{
$this->extendGlobalData($cnd->getJsGlobals());
$this->lvTabs[] = $cnd->toListviewTab('condition-for', '$LANG.tab_condition_for');