Ad placeholder

Template:StoreTraderGold: Difference between revisions

Jump to navigation Jump to search
Fix the math.
m (typo)
(Fix the math.)
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#expr:  
<includeonly><onlyinclude>{{#expr:  
 
<!-- Each gold pile is 4-9 coins. -->
{{#if:{{{upper|}}}
{{#if:{{{upper|}}}
|{{#af_get:{{#af_list:0|45|54|63|72|81|90|99|108|117|126|135|144}}|{{{1}}} }}
| 9
|{{#af_get:{{#af_list:0|20|24|28|32|36|40|44|48|52|56|60|64}}|{{{1}}} }}
| 4
}}
}}
*
<!-- ST_Gold_Trader_Part range -->
{{#af_get:{{#af_list:0|5|6|7|8|9|10|11|12|13|14|15|16}}|{{{1}}} }}


*
*
Line 29: Line 33:


Examples:
Examples:
* lv1 Poor trader should have {{StoreTraderGold|1|normal}} ~ {{StoreTraderGold|1|normal|upper=true}} gold.
* lv1 Poor trader should have {{StoreTraderGold|1|poor}} ~ {{StoreTraderGold|1|poor|upper=true}} gold.
** lv3 Poor trader would have {{StoreTraderGold|3|poor}} ~ {{StoreTraderGold|3|poor|upper=true}} gold.
* lv5 Normal trader should have {{StoreTraderGold|5|normal}} ~ {{StoreTraderGold|5|normal|upper=true}} gold.
* lv5 Normal trader should have {{StoreTraderGold|5|normal}} ~ {{StoreTraderGold|5|normal|upper=true}} gold.
* lv12 Extremely Rich trader should have {{StoreTraderGold|12|extremelyrich}} ~ {{StoreTraderGold|12|extremelyrich|upper=true}} gold.
* lv12 Extremely Rich trader should have {{StoreTraderGold|12|extremelyrich}} ~ {{StoreTraderGold|12|extremelyrich|upper=true}} gold.




[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Navigation menu