User:Illviljan/test2

From Path of Exile Wiki
Revision as of 22:55, 12 February 2016 by >Illviljan
Jump to navigation Jump to search

Required resistance to be ele capped:


Template:SMW character query Resisitance

+60 (merci difficulty)

{{#ask:

Concept:Spawnable named suffix mods
Has name::~*of Elemental Weakness*
Has mod domain::5
[[Has subobject::
 -Has subobject::+
 [[Has spawn weight::>>0]]
]]
|?Has name=
|?Has stat text
|limit=200
|userparam=extra_rows=1, effect_rowid=2, type=map
|default=
|sort=Has name
|link=none
|format=template
|template=SMW mod table
|introtemplate=SMW mod table/map/intro
|outrotemplate=SMW mod table/outro

}}

Display only level of elemental weakness? {{#ask:

-Has subobject::MapPlayerCurseElementalWeakness
|?Has stat id=
|?Has minimum stat value=
|mainlabel=-
|link=none
|format=ul

}}

{{#ask:

Has stat id::map_player_has_level_X_elemental_weakness
|?Has stat id=
|?Has minimum stat value=
|link=
|format=ul

}}



Add subobject in same page: {{#subobject:User:Illviljan/test2

|resistance_normal    =0
|resistance_cruel     =30
|resistance_merciless =60

}}

{{#subobject:test

|resistance_normal    =0
|resistance_cruel     =30
|resistance_merciless =60

}}

Resistance should now be: {{#ask: -Has subobject::test

|?Has resistance_normal=

}} or {{#ask: -Has subobject::User:Illviljan/test2

|?resistance_normal=

}}



Example: Defining two subobjects with identifiers "first" and "second":

{{#subobject:first |property1=value1 |property2=value2 }}

{{#subobject:second |property1=value3 |property2=value4 }} Then to print out the subobjects one would insert this code on the same page:

{{#ask: -Has subobject::User:Illviljan/test2 |?property1 |?property2 }}