Item/Shared CD
* items should not share a cooldown with themself
This commit is contained in:
parent
8de6296878
commit
62a4bcf2d2
1 changed files with 9 additions and 6 deletions
|
|
@ -924,12 +924,15 @@ class ItemPage extends genericPage
|
|||
if ($cdCats)
|
||||
{
|
||||
$conditions = array(
|
||||
'OR',
|
||||
['spellCategory1', $cdCats],
|
||||
['spellCategory2', $cdCats],
|
||||
['spellCategory3', $cdCats],
|
||||
['spellCategory4', $cdCats],
|
||||
['spellCategory5', $cdCats]
|
||||
['id', $this->typeId, '!'],
|
||||
[
|
||||
'OR',
|
||||
['spellCategory1', $cdCats],
|
||||
['spellCategory2', $cdCats],
|
||||
['spellCategory3', $cdCats],
|
||||
['spellCategory4', $cdCats],
|
||||
['spellCategory5', $cdCats],
|
||||
]
|
||||
);
|
||||
$cdItems = new ItemList($conditions);
|
||||
if (!$cdItems->error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue