mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user