BaseTypes:

- rewrote BaseType::iterate() to be a generator and yield references (requires php 5.5)
- reduced usage of bandaid BaseType::reset()
- removed Util::getIdFieldName() which was even more of a bandaid
- discovered DBSimple::selectPage() and consequently removed $matchQuery as they are now obsoloete

Util:
- added trainerTemplate lists for future use with trainers and trained spells

misc. forgotten and/or broken stuff here and there
This commit is contained in:
Sarjuuk
2013-08-18 13:40:12 +02:00
parent 0b0fa39ff4
commit 73cdce784e
34 changed files with 361 additions and 395 deletions

View File

@@ -509,11 +509,11 @@ class ItemsetListFilter extends Filter
// reqLevel min
if (isset($vl['minrl']))
$parts[] = 'i.reqLevel <= '.intVal($vl['minle']);
$parts[] = 'reqLevel <= '.intVal($vl['minrl']);
// reqLevel max
if (isset($vl['maxrl']))
$parts[] = 'i.reqLevel <= '.intVal($vl['maxle']);
$parts[] = 'reqLevel <= '.intVal($vl['maxrl']);
// class
if (isset($vl['cl']))