Template:GetMobDrops: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
{{#get_db_data:db = droprates
{{#get_db_data:db = spawncount
  | parameters={{{mob name|{{PAGENAMEE}}}}}
  | parameters={{{mob name|{{PAGENAMEE}}}}}
  | data=zone=zoneName,item=itemName,rate=itemRate
  | data= mobcount=mobcount, zonename=zonename
}}<!--
}}<!--
-->{| class="wikitable"
-->{| class="wikitable"
! zone !! item !! rate{{#for_external_table:|<nowiki/>
! zonename !! mobcount{{#for_external_table:|<nowiki/>
{{!}}-
{{!}}-
{{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}%
{{!}} {{{zonename}}} {{!}}{{!}} {{{mobcount}}}
}}
}}
|}<!--
|}
<!--
--><br>
--><br>
{{#get_db_data:db = spawncount
{{#get_db_data:db = droprates
  | parameters={{{mob name|{{PAGENAMEE}}}}}
  | parameters={{{mob name|{{PAGENAMEE}}}}}
  | data= mobcount=mobcount, zonename=zonename
  | data=zone=zoneName,item=itemName,rate=itemRate
}}<!--
}}<!--
-->{| class="wikitable"
-->{| class="wikitable"
! zonename !! mobcount{{#for_external_table:|<nowiki/>
! zone !! item !! rate{{#for_external_table:|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{{zonename}}} {{!}}{{!}} {{{mobcount}}}
{{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}%
}}
}} |}</onlyinclude></includeonly>
|}</onlyinclude></includeonly>


==Usage==
==Usage==

Revision as of 11:45, 29 February 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%