Template:GetMobDrops: Difference between revisions
From HorizonXI Wiki
Starfox9507 (talk | contribs) No edit summary |
.mythicangel (talk | contribs) No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
{{!}}- | {{!}}- | ||
{{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}% | {{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}% | ||
}} |}</onlyinclude></includeonly> | |||
<!--This would need a while loop on the item from droprates to combine them into the zone name from spawncount. --> | |||
<onlyinclude><includeonly> | |||
{{#get_db_data:db = spawncount | |||
| parameters={{{mob name|{{PAGENAMEE}}}}} | |||
| data= count=mobcount, zoneSpawn=zonename | |||
}} | |||
{{#get_db_data:db = droprates | |||
| parameters={{{mob name|{{PAGENAMEE}}}}} | |||
| data=zoneDrop=zoneName,item=itemName,rate=itemRate | |||
}}<!-- | |||
-->{| class="mobs horizon-table table-xl" | |||
! Zone !! Drops !! Spawns{{#for_external_table:|<nowiki/> | |||
{{!}}- | |||
{{!}} [[{{{zoneSpawn}}}]] {{!}}{{!}} [[{{{item}}}]] {{#expr:{{{rate}}} / 10}}% {{!}}{{!}} {{{count}}} | |||
}} |}</onlyinclude></includeonly> | }} |}</onlyinclude></includeonly> | ||
Latest revision as of 07:50, 21 September 2024
Usage
Work in progress...
Examples
{{GetMobDrops|mob name=Seeker_Bats}}
| zonename | mobcount |
|---|---|
| Qufim_Island | 13
|
| Ranguemont_Pass | 25
|
| Korroloka_Tunnel | 60
|
| Lower_Delkfutts_Tower | 27
|
| Ordelles_Caves | 19
|
| Maze_of_Shakhrami | 9 |
| zone | item | rate |
|---|---|---|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".%
|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".%
|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".%
|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".%
|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".%
|
| [[{{{zone}}}]] | {{{item}}} | Expression error: Unrecognized punctuation character "{".% |
| Zone | Drops | Spawns |
|---|---|---|
| Qufim_Island | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 13
|
| Ranguemont_Pass | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 25
|
| Korroloka_Tunnel | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 60
|
| Lower_Delkfutts_Tower | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 27
|
| Ordelles_Caves | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 19
|
| Maze_of_Shakhrami | [[{{{item}}}]] Expression error: Unrecognized punctuation character "{".% | 9 |
