Difference between revisions of "Template:Spoils"

From Rollo
m
m
 
(2 intermediate revisions by the same user not shown)
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%|}}}|, a&nbsp;|&nbsp;and a&nbsp;}}}}5% chance of {{Item|{{{5%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{1%|}}}|{{#if:{{{50%|}}}|{{#if:{{{5%|}}}|,}}}}{{#if:{{{50%|}}}{{{5%|}}}|&nbsp;and a&nbsp;}}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&nbsp;}}{{#if:{{{50%|}}}|50% chance of {{Item|{{{50%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{5%|}}}|{{#if:{{{50%|}}}|{{#if:{{{1%|}}}|, a&nbsp;|&nbsp;and a&nbsp;}}}}5% chance of {{Item|{{{5%|UNDEFINED ITEM}}}}} being held}}{{#if:{{{1%|}}}|{{#if:{{{50%|}}}|{{#if:{{{5%|}}}|,}}}}{{#if:{{{50%|}}}{{{5%|}}}|&nbsp;and a&nbsp;}}1% chance of {{Item|{{{1%|UNDEFINED ITEM}}}}} being held}}.<noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{spoils
 
<pre>{{spoils

Latest revision as of 16:49, 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.