[WIP] Conditions

* add missing conditionsTypes

todo:
 process params in Util::getServerConditions()
 add locale strings to js
 extend verbose display in global.js ConditionList
This commit is contained in:
Sarjuuk
2021-03-21 22:00:22 +01:00
parent e4b8a8e908
commit a1f0f3d30d
5 changed files with 165 additions and 76 deletions

View File

@@ -1135,6 +1135,9 @@ class Util
$c['ConditionValue1'] = 2;
else
continue 2;
case CND_QUESTSTATE: // 47
$jsGlobals[TYPE_QUEST][] = $c['ConditionValue1'];
break;
}
$res = [$c['NegativeCondition'] ? -$c['ConditionTypeOrReference'] : $c['ConditionTypeOrReference']];