Difference between revisions of "Template:Spoils"
From Rollo
Line 1: | Line 1: | ||
==[[Spoils]]== | ==[[Spoils]]== | ||
− | {{#if:{{{100%|}}}|Any wild {{#replace:{{PAGENAME}}|(monster)|<nowiki></nowiki>}} encountered will be holding an {{Item|{{{100%|UNDEFINED ITEM}}}}}.|If a wild {{#replace:{{PAGENAME}}|(monster)|<nowiki></nowiki>}} is encountered, there is a chance it is holding an item.}} There is a {{#if:{{{50%|}}}|50% chance of {{Item|{{{50%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{5%|}}}|{{#if:{{{50%|}}}|{{#if:{{{1%|}}}|, |and a }}}}5% chance of {{Item|{{{5%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{1%|}}}|{{#if:{{{50%|}}}|{{#if:{{{5%|}}},}}}}{{#if:{{{50%|}}}{{{5%}}}|and a }}1% chance of {{Item|{{{1%|UNDEFINED ITEM}}}}} being held}}.<noinclude> | + | {{#if:{{{100%|}}}|Any wild {{#replace:{{PAGENAME}}|(monster)|<nowiki></nowiki>}} encountered will be holding an {{Item|{{{100%|UNDEFINED ITEM}}}}}.|If a wild {{#replace:{{PAGENAME}}|(monster)|<nowiki></nowiki>}} is encountered, there is a chance it is holding an item.}} There is a {{#if:{{{50%|}}}|50% chance of {{Item|{{{50%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{5%|}}}|{{#if:{{{50%|}}}|{{#if:{{{1%|}}}|, | and a }}}}5% chance of {{Item|{{{5%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{1%|}}}|{{#if:{{{50%|}}}|{{#if:{{{5%|}}},}}}}{{#if:{{{50%|}}}{{{5%}}}| and a }}1% chance of {{Item|{{{1%|UNDEFINED ITEM}}}}} being held}}.<noinclude> |
==Usage== | ==Usage== | ||
<pre>{{spoils | <pre>{{spoils |
Revision as of 16:43, 4 March 2019
Spoils
If a wild Spoils is encountered, there is a chance it is holding an item. There is a .
Usage
{{spoils |100%=item |50%=item |5%=item |1%=item }}
Replace "item" with the Proper Noun version of an item name. Delete the entire line if there is no such item.