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
holy->light
changed poison to in game name: toxic
 
Line 6: Line 6:
   | elven = Ice
   | elven = Ice
   | nature = Plant
   | nature = Plant
   | swamp = Poison
   | swamp = Toxic
   | desert = Water
   | desert = Water
   | barbarian = Rock
   | barbarian = Rock
Line 12: Line 12:
   }}
   }}
| weakness = {{#switch: {{lc:{{{1|}}}}}
| weakness = {{#switch: {{lc:{{{1|}}}}}
   | human = Poison
   | human = Toxic
   | dwarven = Plant
   | dwarven = Plant
   | demon = Water
   | demon = Water

Latest revision as of 15:19, 27 June 2026

File:Template-info.svg Documentation Edit this documentation at Template:Kingdom_bonus/doc.
(edit • history • purge)

Returns the resistance or weakness of a unit depending on the according kingdom.

Parameters

1 - name of the kingdom
2 - resistance or weakness
3 - optional, if not empty the result will be displayed using itemLink

Example

{{kingdom bonus|human|resistance}}

Light

{{kingdom bonus|human|weakness|1}}

Toxic

{{kingdom bonus|demon|weakness|1}}

Water (element)


other elements

Plant Rock (element) Fire Ice Electric Dark Light