User:Illviljan/cargo: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
>Illviljan
mNo edit summary
(No difference)

Revision as of 05:34, 22 March 2018


Intro


Lists of strings

HOLDS

Abyss Hardcore Abyss SSF Abyss SSF Abyss HC

Multiple holds

Abyss league

Abyss league


HOLDS NOT

No results

Lua equivalents

No results

tables = 'mods, spawn_weights' 
fields = 'mods.id, spawn_weights.weight' 
query = { 
join = 'mods._pageID=spawn_weights._pageID', 
where = 'mods.domain=5 AND mods.name="Fecund" AND spawn_weights.weight > 0', 
limit = 10, 
offset = 2 
} 
results = mw.ext.cargo.query(tables, fields, query)

print(
results[1]['mods.id'], 
results[1]['spawn_weights.weight']
)

Offset

We have the following list:

  • No results

Limit to 3 results:

  • No results

Add the rest:

  • No results


mods that can spawn on items

item_tags = axe, one_hand_weapon, onehand, weapon, default

Error: No field named "mod_group" found for the database table "mods".

Built in timeline