Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Kingdom bonus: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei Created page with "<onlyinclude>{{#switch: {{{2|}}} | resistance = {{#switch: {{lc:{{{1|}}}}} | human = holy | dwarven = electric | demon = fire | elven = ice | nature = plant | reptiloid = poison | mystic = water | barbarian = earth | undead = dark }} | weakness = {{#switch: {{lc:{{{1|}}}}} | human = poison | dwarven = plant | demon = water | elven = earth | nature = fire | reptiloid = ice | mystic = electric | barbarian = dark | undead = holy }}}}</onlyinclude><noinclude>{{doc}} Catego..." |
m 1 revision imported |
||
(No difference)
| |||
Revision as of 23:46, 21 October 2025
Returns the resistance or weakness of a unit depending on the according kingdom.
Parameters
1- name of the kingdom2-resistanceorweakness3- optional, if not empty the result will be displayed using itemLink
Example
{{kingdom bonus|human|resistance}}
holy
{{kingdom bonus|human|weakness|1}}
poison
{{kingdom bonus|demon|weakness|1}}
water
other elements
plant earth fire
dark
holy


