Template:GetMobDrops: Difference between revisions
From HorizonXI Wiki
.mythicangel (talk | contribs) No edit summary |
.mythicangel (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
}} |}</onlyinclude></includeonly> | }} |}</onlyinclude></includeonly> | ||
<!--This would need a while loop on the item from droprates to combine them into the zone name from spawncount. --> | |||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
{{#get_db_data:db = spawncount | {{#get_db_data:db = spawncount | ||
| parameters={{{mob name|{{PAGENAMEE}}}}} | | parameters={{{mob name|{{PAGENAMEE}}}}} | ||
| data= count=mobcount, | | data= count=mobcount, zoneSpawn=zonename | ||
}} | }} | ||
{{#get_db_data:db = droprates | {{#get_db_data:db = droprates | ||
| parameters={{{mob name|{{PAGENAMEE}}}}} | | parameters={{{mob name|{{PAGENAMEE}}}}} | ||
| data= | | data=zoneDrop=zoneName,item=itemName,rate=itemRate | ||
}}<!-- | }}<!-- | ||
-->{| class="mobs horizon-table table-xl" | -->{| class="mobs horizon-table table-xl" | ||
! Zone !! Drops !! Spawns{{#for_external_table:|<nowiki/> | ! 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 |
---|---|---|
Qufim_Island | bat_wing | 15%
|
Ranguemont_Pass | bat_wing | 15%
|
Ranguemont_Pass | bat_fang | 5%
|
Korroloka_Tunnel | bat_wing | 15%
|
Korroloka_Tunnel | vial_of_fiend_blood | 10%
|
Korroloka_Tunnel | bat_fang | 5%
|
Lower_Delkfutts_Tower | bat_wing | 15%
|
Ordelles_Caves | bat_wing | 15%
|
Maze_of_Shakhrami | bat_wing | 24% |
Zone | Drops | Spawns |
---|---|---|
Qufim_Island | bat_wing 15% | 13
|
Ranguemont_Pass | bat_wing 15% | 25
|
Korroloka_Tunnel | bat_fang 5% | 60
|
Lower_Delkfutts_Tower | bat_wing 15% | 27
|
Ordelles_Caves | vial_of_fiend_blood 10% | 19
|
Maze_of_Shakhrami | bat_fang 5% | 9
|
[[]] | bat_wing 15% |
|
[[]] | bat_wing 15% |
|
[[]] | bat_wing 24% |