Ce module contient les fonctions permettant de créer des modèles concernant les stats (d'ennemis, objets, etc) de Kingdom Hearts: Dark Road.

Fonctions d'album

Ces fonctions génèrent les tableaux pour la page Album (Dark Road).

StatsKHDR.albumCartes

Affiche l'album complet des cartes.

StatsKHDR.albumEnnemis

Affiche l'album complet des ennemis

StatsKHDR.tableauQuete

Cette fonction permet de générer le tableau reprenant les ennemis

Arguments Utilisation
quête Numéro de la quête
combats Le nombre de combats
aléatoires Le nombre d'ennemis
monde Le monde où la quête prend place
scène intro Description de la ou les cinématique(s) d'introduction
scène fin Description de la ou les cinématique(s) de fin
mission Décrit la mission (objectif à remplir hors quêtes) qui prend place après la quête.
Arguments anonymes
[1-?]
Permet de donner la liste des ennemis, une paire d'arguments par ennemi. Les combats premiers ennemis renseignent chaque combat ; les lignes au-delà remplissent le tableau annexe qui renseigne les ennemis qui peuvent apparaître dans les combats aléatoires.
  • Argument impair : l'ennemi, ou Aléatoire si l'ennemi est aléatoire
  • Argument pair : le niveau de l'ennemi (inutilisé pour un ennemi aléatoire)

Fonctions d'ennemi

Fonctions utilisées pour l'affichage des stats des ennemis

StatsKHDR.CategorieEnnemi

Cette fonction détermine à quelles catégories ajouter un ennemi, selon qu'il est un ennemi standard ou un boss.

Elle reçoit un paramètre "args", version nettoyée des arguments tirés de l'appel du modèle. Il s'agit d'un tableau contenant les informations reprises dans le tableau ci-dessous.

Arguments Utilisation
KDRboss Indique que l'ennemi est un boss si le paramètre est utilisé
boss Indique que l'ennemi est un boss si le paramètre est utilisé (permet d'utiliser un argument comment si l'ennemi est un boss pour toutes ses apparitions dans la série)

StatsKHDR.Ennemi

Cette fonction génère le tableau de statistiques d'un ennemi de Kingdom Hearts.

Elle reçoit deux paramètres :

  • args, version nettoyée des arguments tirés de l'appel du modèle. Il s'agit d'un tableau contenant les informations reprises dans le tableau ci-dessous.
  • multiples : valeur booléenne indiquant si d'autres tableaux de stats sont utilisés (permet de générer le tabber).
Paramètre Sous-paramètre Utilisation
KHnum - Numéro d'album de l'ennemi. Les statistiques sont automatiquement ajoutées.

local StatsKHDR = {}

local strsub = require("Module:Stats/Template").strsub

local Episodes = {
	"[[Episode 1: Unexpected Departure|Episode 1]]",
	"[[Episode 2: The Presence of Darkness|Episode 2]]",
	"[[Episode 3: The Purpose of the Journey|Episode 3]]",
	"[[Episode 4: Cruel Clues|Episode 4]]",
}

--Fonction utilisée pour rapidement encoder les liens vers les différents épisodes d'histoire où un ennemi est présent
function Eps(tab)
	local stringBuilder = ""
	for _, epno in ipairs(tab) do
		stringBuilder = stringBuilder .. Episodes[epno] .. ", "
	end
	return strsub(stringBuilder, 1, -3)
end

function Ranks(tab)
	local stringBuilder = ""
	for _, rank in ipairs(tab) do
		if (flag) then
			stringBuilder = stringBuilder .. "{{SérieSt|"..rank.."|"..rank.."}}, "
		end
	end
	return strsub(stringBuilder, 1, -3)
end

local KHDREnemyAlbum = {
	{["nom"] = "Ombre", ["nomen"] = "Shadow", ["image"] = "Ombre KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}}, ["Faib"] = {"Poison", "Sommeil", "Paralysie", "Aveugle", "Magie", "Brasier", "Lumière"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Défense +1"},
	{["nom"] = "Gros bandit", ["nomen"] = "Fat Bandit", ["image"] = "Gros bandit KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Brasier", "Rafale"},["Faib"] = {"Magie", "Eau", "Foudre"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Opéra Jaune", ["nomen"] = "Yellow Opera", ["image"] = "Opéra Jaune KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Foudre"},["Faib"] = {"Physique", "Rafale"},["1"]= "HP +1", ["10"]= "Déf mag +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Nocturne Rouge", ["nomen"] = "Red Nocturne", ["image"] = "Nocturne Rouge KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Brasier"},["Faib"] = {"Physique", "Rafale"},["1"]= "HP +1", ["10"]= "Déf mag +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Rhapsodie Bleue", ["nomen"] = "Blue Rhapsody", ["image"] = "Rhapsodie Bleue KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Rafale"},["1"]= "HP +1", ["10"]= "Déf mag +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Soldat", ["nomen"] = "Soldier", ["image"] = "Soldat KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Magie", "Brasier"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Défense +1"},
	{["nom"] = "Rondouillard", ["nomen"] = "Large Body", ["image"] = "Rondouillard KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Magie", "Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Bandit", ["nomen"] = "Bandit", ["image"] = "Bandit KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Brasier"},["Faib"] = {"Magie", "Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Soldat volant", ["nomen"] = "Air Soldier", ["image"] = "Soldat volant KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Sorcier", ["nomen"] = "Wizard", ["image"] = "Sorcier KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Foudre", "Sommeil"},["Faib"] = {"Physique", "Rafale"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Fleur de Brume", ["nomen"] = "Possessor", ["image"] = "Fleur de Brume KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Paralysie"}},["Res"] = {"Eau"},["Faib"] = {"Magie", "Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Carapaçon", ["nomen"] = "Armored Knight", ["image"] = "Carapaçon KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Magie", "Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Flower Rider", ["image"] = "Flower Rider.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier", "Rafale"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Grande armure", ["nomen"] = "Large Armor", ["image"] = "Grande armure KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Magie", "Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Armored Archer", ["image"] = "Armored Archer.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Faib"] = {"Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Red Bandit", ["image"] = "Red Bandit.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Force ↓"}},["Res"] = {"Brasier"},["Faib"] = {"Magie", "Eau", "Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Fleur Bloquante", ["nomen"] = "Creeper Plant", ["image"] = "Fleur Bloquante KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Plante sinistre", ["nomen"] = "Dire Plant", ["image"] = "Plante sinistre KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Défense magique ↓"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Plante de feu", ["nomen"] = "Fire Plant", ["image"] = "Plante de feu KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique", "Défense ↓"}},["Res"] = {"Brasier", "Paralysie"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Gift Shadow", ["image"] = "Gift Shadow.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Faib"] = {"Poison", "Sommeil", "Paralysie", "Aveugle", "Magie", "Brasier"},["Bonus"]="[[Battle Points|BP]] supplémentaires",["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Chomper Egg", ["image"] = "Chomper Egg.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Brasier"},["Faib"] = {"Foudre", "Rafale"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Red Rose", ["image"] = "Red Rose.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "White Rose", ["image"] = "White Rose.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Sommeil"}},["Res"] = {"Eau", "Sommeil"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Roto-tank", ["nomen"] = "Morning Star", ["image"] = "Roto-tank KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Magie", "Eau", "Foudre"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Eggcognito", ["image"] = "Eggcognito.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Poison", "Sommeil", "Paralysie", "Aveugle", "Brasier", "Eau", "Rafale"},["Faib"] = {"Magie", "Foudre"}, ["Bonus"]= "[[Battle Points|BP]] supplémentaires" ,["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Gargouille", ["nomen"] = "Gargoyle", ["image"] = "Gargouille KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau", "Poison"},["Faib"] = {"Sommeil", "Brasier", "Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "High Wizard", ["image"] = "High Wizard.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Paralysie"}},["Res"] = {"Foudre", "Poison", "Sommeil", "Paralysie"},["Faib"] = {"Physique", "Rafale"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Magie +1", ["1000"]= "Magie +2"},
	{["nom"] = "Vouivre", ["nomen"] = "Wyvern", ["lien"]= "Vouivre (Sans-cœur)|Vouivre", ["image"] = "Vouivre KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau", "Poison"},["Faib"] = {"Sommeil", "Rafale"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Invincible", ["nomen"] = "Invisible", ["image"] = "Invincible KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Poison", "Sommeil", "Paralysie", "Aveugle", "Brasier", "Ténèbres"},["Faib"] = {"Magie", "Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Lancier", ["nomen"] = "Lance Soldier", ["image"] = "Lancier KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Force ↓"}},["Res"] = {"Rafale"},["Faib"] = {"Magie", "Foudre"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Baron bleu", ["nomen"] = "Aeroplane", ["image"] = "Baron bleu KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique", "Défense ↓"}},["Res"] = {"Brasier"},["Faib"] = {"Magie", "Foudre", "Rafale"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Plante de glace", ["nomen"] = "Ice Plant", ["image"] = "Plante de glace KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Déf Mag +1", ["1000"]= "Magie +1"},
	{["nom"] = "Dark Plant", ["image"] = "Dark Plant.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Eau"},["Imm"] = {"Poison"},["Faib"] = {"Physique", "Brasier", "Lumière"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "Magie +1", ["1000"]= "Magie +2"},
	{["nom"] = "Primate costaud", ["nomen"] = "Powerwild", ["image"] = "Primate costaud KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Défense ↓"}},["Res"] = {"Brasier"},["Faib"] = {"Magie", "Sommeil", "Eau"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Nimble Bee", ["image"] = "Nimble Bee.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Eau", "Poison", "Paralysie"},["Faib"] = {"Brasier", "Rafale"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Force +1"},
	{["nom"] = "Stinging Bee", ["image"] = "Stinging Bee.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Eau", "Poison"}, ["Imm"] = {"Paralysie"},["Faib"] = {"Brasier", "Rafale"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Méga Ombre", ["nomen"] = "Mega-Shadow", ["image"] = "Méga Ombre KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Faib"] = {"Brasier", "Lumière"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Tricholome d'or", ["nomen"] = "Gold Tricholoma", ["image"] = "Tricholome d'or KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Poison"}},["Res"] = {"Lumière", "Paralysie", "Sommeil"}, ["Imm"] = {"Poison"},["Faib"] = {"Ténèbres"}, ["Bonus"]="[[Battle Points|BP]] supplémentaires",["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Emerald Sonata", ["image"] = "Emerald Sonata.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"},{"Soin"}},["Faib"] = {"Rafale"}, ["Bonus"] = "Soin de HP une fois vaincu",["1"]= "HP +1 ", ["10"]= "HP +1", ["100"]= "Déf mag +1", ["1000"]= "Magie +1"},
	{["nom"] = "Sparkler", ["image"] = "Sparkler.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Brasier", "Foudre"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Poison Archer", ["image"] = "Poison Archer KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Imm"] = {"Poison"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Paralysis Archer", ["image"] = "Paralysis Archer.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Paralysie"}},["Res"] = {"Rafale"}, ["Imm"] = {"Paralysie"},["Faib"] = {"Foudre"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "HP +1", ["1000"]= "Magie +1"},
	{["nom"] = "Sleep Archer", ["image"] = "Sleep Archer.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Sommeil"}},["Res"] = {"Eau"}, ["Imm"] = {"Sommeil"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Lance d'éclairs", ["nomen"] = "Blitz Spear", ["image"] = "Lance d'éclairs KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Paralysie"}},["Res"] = {"Foudre"}, ["Imm"] = {"Paralysie"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Éventreur glacé", ["nomen"] = "Chill Ripper", ["image"] = "Éventreur glacé KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Foudre"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Sabre Enflammé", ["nomen"] = "Heat Saber", ["image"] = "Sabre Enflammé KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Brasier"},["Faib"] = {"Eau"},["Bonus"]=",",["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Arachnocruche", ["nomen"] = "Pot Spider", ["image"] = "Arachnocruche KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Brasier", "Paralysie"}, ["Imm"] = {"Poison"},["Faib"] = {"Sommeil", "Eau"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Scorpiobaril", ["nomen"] = "Pot Scorpion", ["image"] = "Scorpiobaril KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Brasier", "Paralysie"}, ["Imm"] = {"Poison"},["Faib"] = {"Sommeil", "Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Mille-pots", ["nomen"] = "Pot Centipede", ["image"] = "Mille-pots KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Res"] = {"Brasier"}, ["Imm"] = {"Poison", "Paralysie"},["Faib"] = {"Sommeil", "Eau"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Défenseur", ["nomen"] = "Defender", ["lien"]= "Défenseur (Sans-cœur)|Défenseur", ["image"] = "Défenseur KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Foudre"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Pyronucléo", ["nomen"] = "Flame Core", ["image"] = "Pyronucléo KHDR.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Défense magique ↓"},{"Physique","Défense ↓"}},["Res"] = {"Poison", "Paralysie"}, ["Imm"] = {"Brasier"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "Magie +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Wicked Watermelon", ["image"] = "Wicked Watermelon.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Faib"] = {"Magie"}, ["Stats"]="HP et Défense élevés",["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Défense +1"},
	{["nom"] = "Huge Watermelon", ["image"] = "Huge Watermelon.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magie"}},["Faib"] = {"Magie"}, ["Stats"]="HP et Défense élevés",["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Force +1", ["1000"]= "Force +2"},
	{["nom"] = "Gummi Hammer", ["image"] = "Gummi Hammer.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau", "Rafale", "Non-élémentaire"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Déf mag +2"},
	{["nom"] = "Noctule", ["nomen"] = "Fluttering", ["image"] = "Noctule KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"}},["Imm"] = {"Poison"},["Faib"] = {"Brasier", "Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Ifrit", ["lien"]= "Ifrit (Sans-cœur)|Ifrit", ["image"] = "Ifrit KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique","Défense ↓"},{"Physique supérieure"}},["Res"] = {"Poison", "Paralysie"}, ["Imm"] = {"Brasier"},["Faib"] = {"Eau"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Magie +1", ["1000"]= "Force +1"},
	{["nom"] = "Ferry Reaper", ["image"] = "Ferry Reaper.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Physique", "Brasier", "Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Force +1", ["100"]= "Force +1", ["1000"]= "Force +1"},
	{["nom"] = "Chevalier Momie", ["nomen"] = "Wight Knight", ["image"] = "Chevalier Momie KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Défense ↓"}},["Res"] = {"Eau", "Poison"},["Faib"] = {"Sommeil", "Brasier", "Lumière"},["1"]= "HP +1", ["10"]= "Force +1", ["100"]= "HP +1", ["1000"]= "Défense +1"},
	{["nom"] = "Boule Noire", ["nomen"] = "Darkball", ["image"] = "Boule Noire KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Magie ↓"}},["Res"] = {"Foudre", "Poison", "Sommeil"},["Faib"] = {"Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Déf. mag +1", ["1000"]= "Déf. mag +1"},
	{["nom"] = "Polliwog", ["image"] = "Polliwog.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Défense magique ↓"}},["Res"] = {"Eau", "Sommeil"},["Faib"] = {"Physique", "Foudre", "Rafale"},["1"]= "HP +1", ["10"]= "Déf. mag +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Rotor Mou", ["nomen"] = "Tornado Step", ["image"] = "Rotor Mou KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Rafale"},["Faib"] = {"Physique", "Foudre"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Giga Ombre", ["nomen"] = "Gigas Shadow", ["image"] = "Giga Ombre KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Force ↓"}},["Res"] = {"Foudre", "Sommeil"},["Faib"] = {"Brasier", "Lumière"},["1"]= "HP +1", ["10"]= "HP +1", ["100"]= "Force +1", ["1000"]= "HP +1"},
	{["nom"] = "Icy Beast", ["image"] = "Icy Beast.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Défense ↓"}},["Res"] = {"Foudre", "Rafale", "Non-élémentaire", "Poison", "Paralysie"}, ["Imm"] = {"Eau"},["Faib"] = {"Magie", "Brasier"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Orcus", ["nomen"] = "Ogre", ["image"] = "Orcus KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Paralysie"}},["Res"] = {"Foudre", "Poison", "Sommeil"}, ["Imm"] = {"Paralysie"},["Faib"] = {"Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Magie +1", ["1000"]= "Force +1"},
	{["nom"] = "Éliminator", ["nomen"] = "Eliminator", ["image"] = "Éliminator KHχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Force ↓"}},["Res"] = {"Rafale", "Non-élémentaire"},["Faib"] = {"Magie", "Foudre"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Margoyle", ["image"] = "Margoyle KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Poison"},{"Physique supérieure","Défense ↓"}},["Res"] = {"Eau", "Foudre"}, ["Imm"] = {"Poison"},["Faib"] = {"Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Déf. mag. +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Jack O' Lantern", ["image"] = "Jack O' Lantern (2014).png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Brasier"},["Faib"] = {"Eau", "Foudre", "Rafale"},["1"]= "HP +1", ["10"]= "Déf. mag +1", ["100"]= "Déf. mag +1", ["1000"]= "Magie +1"},
	{["nom"] = "Pumpkin Soldier", ["image"] = "Pumpkin Soldier.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau", "Foudre"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Swaying Spook", ["image"] = "Swaying Spook.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique","Paralysie"}},["Res"] = {"Eau", "Foudre"},["Faib"] = {"Physique", "Lumière", "Rafale", "Non-élémentaire"},["1"]= "HP +1", ["10"]= "Déf. mag +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Furious Reaper", ["image"] = "Furious Reaper KHDR.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"},{"Magique supérieure"}},["Res"] = {"Brasier", "Foudre"},["Faib"] = {"Eau", "Lumière", "Rafale"},["1"]= "HP +1", ["10"]= "Force +1", ["100"]= "Magie +1", ["1000"]= "Déf. mag +1"},
	{["nom"] = "Shiva", ["lien"]= "Shiva (Sans-cœur)|Shiva", ["image"] = "Shiva (Sans-cœur).png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Foudre", "Rafale", "Non-élémentaire", "Paralysie"},["Imm"] = {"Eau"}, ["Faib"] = {"Brasier"},["1"]= "Défense +5", ["10"]= "Déf. mag +5", ["100"]= "Magie +5", ["1000"]= "Force +5"},
	{["nom"] = "Terrible Tomte", ["image"] = "Terrible Tomte.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Défense +1", ["100"]= "Défense +1", ["1000"]= "Force +1"},
	{["nom"] = "Strange Tree", ["image"] = "Strange Tree.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Déf. mag +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Large Snowman", ["image"] = "Huge Snowman.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Res"] = {"Eau"},["Faib"] = {"Brasier"},["1"]= "HP +1", ["10"]= "Force +1", ["100"]= "Magie +1", ["1000"]= "Déf. mag +1"},
	{["nom"] = "Ringmaster", ["image"] = "Ringmaster.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["1"]= "Défense +10<br>Déf. mag. +10<br>Magie +10<br>Force +10"},
	{["nom"] = "Apricot Opera", ["image"] = "Apricot Opera.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Magique"}},["Res"] = {"Paralysie"},["Imm"] = {"Foudre"}, ["Faib"] = {"Rafale", "Lumière"},["1"]= "HP +1", ["10"]= "Déf. mag +1", ["100"]= "Magie +1", ["1000"]= "Magie +1"},
	{["nom"] = "Marée démoniaque"; ["nomen"]="Demon Tide", ["image"] = "Marée démoniaque KHUχ.png", ["type"]="Sans-cœur",  ["Histoire"] = Eps({}),  ["Mondes"] = {["Agrabah"] = Ranks({}),  ["Pays des Merveilles"] = Ranks({}),}, ["Events"] = "", ["Att"]={{"Physique"}},["Faib"] = {"Rafale"; "Lumière"},["1"]= "Défense +10<br>Déf. mag. +10<br>Magie +10<br>Force +10"}
}

local KHDREnemyIndex = {
	["Ombre"] = 1,
	["Gros bandit"] = 2,
	["Opéra Jaune"] = 3,
	["Nocturne Rouge"] = 4,
	["Rhapsodie Bleue"] = 5,
	["Soldat"] = 6,
	["Rondouillard"] = 7,
	["Bandit"] = 8,
	["Soldat volant"] = 9,
	["Sorcier"] = 10,
	["Fleur de Brume"] = 11,
	["Carapaçon"] = 12,
	["Flower Rider"] = 13,
	["Grande armure"] = 14,
	["Armored Archer"] = 15,
	["Red Bandit"] = 16,
	["Fleur Bloquante"] = 17,
	["Plante sinistre"] = 18,
	["Plante de feu"] = 19,
	["Gift Shadow"] = 20,
	["Chomper Egg"] = 21,
	["Red Rose"] = 22,
	["White Rose"] = 23,
	["Roto-tank"] = 24,
	["Eggcognito"] = 25,
	["Gargouille"] = 26,
	["High Wizard"] = 27,
	["Vouivre"] = 28,
	["Invincible"] = 29,
	["Lancier"] = 30,
	["Baron bleu"] = 31,
	["Plante de glace"] = 32,
	["Dark Plant"] = 33,
	["Primate costaud"] = 34,
	["Nimble Bee"] = 35,
	["Stinging Bee"] = 36,
	["Méga Ombre"] = 37,
	["Tricholome d'or"] = 38,
	["Emerald Sonata"] = 39,
	["Sparkler"] = 40,
	["Poison Archer"] = 41,
	["Paralysis Archer"] = 42,
	["Sleep Archer"] = 43,
	["Lance d'éclairs"] = 44,
	["Éventreur glacé"] = 45,
	["Sabre Enflammé"] = 46,
	["Arachnocruche"] = 47,
	["Scorpiobaril"] = 48,
	["Mille-pots"] = 49,
	["Défenseur"] = 50,
	["Pyronucléo"] = 51,
	["Wicked Watermelon"] = 52,
	["Huge Watermelon"] = 53,
	["Gummi Hammer"] = 54,
	["Noctule"] = 55,
	["Ifrit"] = 56,
	["Ferry Reaper"] = 57,
	["Chevalier Momie"] = 58,
	["Boule Noire"] = 59,
	["Polliwog"] = 60,
	["Rotor Mou"] = 61,
	["Giga Ombre"] = 62,
	["Icy Beast"] = 63,
	["Orcus"] = 64,
	["Éliminator"] = 65,
	["Margoyle"] = 66,
	["Jack O' Lantern"] = 67,
	["Pumpkin Soldier"] = 68,
	["Swaying Spook"] = 69,
	["Furious Reaper"] = 70,
	["Shiva"] = 71,
	["Terrible Tomte"] = 72,
	["Strange Tree"] = 73,
	["Large Snowman"] = 74,
	["Ringmaster"] = 75,
	["Apricot Opera"] = 76,
}

local cardColor = {
	["LR"]=[['''<font color="gold">L</font><font color="red">R</font>''']],
	["LV"]=[['''<font color="gold">L</font><font color="green">V</font>''']],
	["LB"]=[['''<font color="gold">L</font><font color="blue">B</font>''']],
	["TR"]=[['''<font color="purple">T</font><font color="red">R</font>''']],
	["TV"]=[['''<font color="purple">T</font><font color="green">V</font>''']],
	["TB"]=[['''<font color="purple">T</font><font color="blue">B</font>''']]
}

local KHDRCardAlbum = {
	{["nom"] = "Keyblade", ["lien"] = "[[Keyblade (Dark Road)|Keyblade]]", ["image"] = "Carte 1 Keyblade (Rouge) KHDR.png", ["desc"] = "A Keyblade wielded by Xehanort and the other students.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Keyblade", ["lien"] = "[[Keyblade (Dark Road)|Keyblade]]", ["image"] = "Carte 2 Keyblade (Vert)  KHDR.png", ["desc"] = "A Keyblade wielded by Xehanort and the other students.", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Keyblade", ["lien"] = "[[Keyblade (Dark Road)|Keyblade]]", ["image"] = "Carte 3 Keyblade (Bleu)  KHDR.png", ["desc"] = "A Keyblade wielded by Xehanort and the other students.", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Ombre", ["image"] = "Carte 4 Ombre (Rouge) KHDR.png", ["desc"] = "A common Heartless.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Ombre", ["image"] = "Carte 5 Ombre (Vert) KHDR.png", ["desc"] = "A common Heartless.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Ombre", ["image"] = "Carte 6 Ombre (Bleu) KHDR.png", ["desc"] = "A common Heartless.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Abu", ["image"] = "Carte 7 Abu (Rouge) KHDR.png", ["desc"] = "Aladdin's faithful and furry sidekick.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Abu", ["image"] = "Carte 8 Abu (Vert) KHDR.png", ["desc"] = "Aladdin's faithful and furry sidekick.", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Abu", ["image"] = "Carte 9 Abu (Bleu) KHDR.png", ["desc"] = "Aladdin's faithful and furry sidekick.", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Défense +1"},
	{["nom"] = "Cartes Soldats", ["image"] = "Carte 10 Cartes Soldats (Rouge) KHDR.png", ["desc"] = "A guard who serves the Queen of Hearts.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Cartes Soldats", ["image"] = "Carte 11 Cartes Soldats (Vert) KHDR.png", ["desc"] = "A guard who serves the Queen of Hearts.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Cartes Soldats", ["image"] = "Carte 12 Cartes Soldats (Bleu) KHDR.png", ["desc"] = "A guard who serves the Queen of Hearts.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Rondouillard", ["image"] = "Carte 13 Rondouillard KHDR.png", ["desc"] = "A Heartless massive in size.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Soldat", ["image"] = "Carte 14 Soldat KHDR.png", ["desc"] = "A common Heartless.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Bandit", ["image"] = "Carte 15 Bandit KHDR.png", ["desc"] = "A Heartless that appears in Agrabah.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack.", ["puisPrinc"] = {5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Tidus", ["image"] = "Carte 16 Tidus KHDR.png", ["desc"] = "A boy who lived on the same island as Sora.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Estoc glissé]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {9, 10, 11, 12, 13, 16, 20, 25, 30, 35, 40}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Défense +1", ["10"] = "Force +1"},
	{["nom"] = "Selphie", ["image"] = "Carte 17 Selphie KHDR.png", ["desc"] = "A girl who lived on the same island as Sora.", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "[[Estoc glissé]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {9, 10, 11, 12, 13, 16, 20, 25, 30, 35, 40}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Défense +1", ["10"] = "Force +1"},
	{["nom"] = "Wakka", ["image"] = "Carte 18 Wakka KHDR.png", ["desc"] = "A boy who lived on the same island as Sora.", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "[[Estoc glissé]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {9, 10, 11, 12, 13, 16, 20, 25, 30, 35, 40}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Défense +1", ["10"] = "Force +1"},
	{["nom"] = "Nocturne Rouge", ["image"] = "Carte 19 Nocturne Rouge KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Magique", ["couleur"] = "TR", ["princ"] = "[[Brasier]]", ["descPrinc"] = "A fire-elemental magic attack.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Rhapsodie Bleue", ["image"] = "Carte 20 Rhapsodie Bleue KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "[[Glacier]]", ["descPrinc"] = "A water-elemental magic attack.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Opéra Jaune", ["image"] = "Carte 21 Opéra Jaune KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "[[Foudre]]", ["descPrinc"] = "A lightning-elemental magic attack.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45}, ["elemPrinc"] = "Foudre", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Potion", ["image"] = "Carte 22 Potion KHDR.png", ["desc"] = "An item used to restore HP.", ["type"] = "Soutien", ["couleur"] = "LR", ["princ"] = "[[Potion]]", ["descPrinc"] = "Restores 50 HP. Stacking Cards does not increase value.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "HP +5", ["10"] = "HP +5"},
	{["nom"] = "Reine Minnie", ["image"] = "Carte 23 Reine Minnie KHDR.png", ["desc"] = "The queen of Disney Castle.", ["type"] = "Soutien", ["couleur"] = "LB", ["princ"] = "[[Soin]]", ["descPrinc"] = "Restores HP. Amount restored is based on Magic.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 34, 38, 42, 46, 50}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +2", ["10"] = "HP +2"},
	{["nom"] = "Dingo", ["image"] = "Carte 24 Dingo KHDR.png", ["desc"] = "The Captain of the Royal Knights.", ["type"] = "Soutien", ["couleur"] = "LR", ["princ"] = "[[Carapace]]", ["descPrinc"] = "Defense +1 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["alterPrinc"] = "Défense ↑", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "Défense +2", ["10"] = "Défense +2"},
	{["nom"] = "Donald", ["image"] = "Carte 25 Donald 1 KHDR.png", ["desc"] = "The Magician of the Royal Court.", ["type"] = "Soutien", ["couleur"] = "LV", ["princ"] = "[[Blindage]]", ["descPrinc"] = "Magic Defense +1 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["alterPrinc"] = "Défense magique ↑", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "Déf. mag. +2", ["10"] = "Déf. mag. +2"},
	{["nom"] = "Reine de Cœur", ["image"] = "Carte 26 Reine de Cœur KHDR.png", ["desc"] = "The ruler of Wonderland.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {10, 11, 12, 13, 14, 16, 18, 21, 24, 27, 30}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Maléfique", ["image"] = "Carte 27 Maléfique KHDR.png", ["desc"] = "An evil fairy with tremendous powers.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {10, 11, 12, 13, 14, 16, 18, 21, 24, 27, 30}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Capitaine Crochet", ["image"] = "Carte 28 Capitaine Crochet KHDR.png", ["desc"] = "The leader of the pirates who sail the waters of Never Land.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {10, 11, 12, 13, 14, 16, 18, 21, 24, 27, 30}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Alice", ["image"] = "Carte 29 Alice KHDR.png", ["desc"] = "A girl who wandered into Wonderland.", ["type"] = "Soutien", ["couleur"] = "LV", ["princ"] = "Poisona", ["descPrinc"] = "Cures Poison.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "HP +5", ["10"] = "HP +5"},
	{["nom"] = "Le Génie", ["image"] = "Carte 30 Le Génie KHDR.png", ["desc"] = "A bubbly, boisterous character who lives inside a magic lamp.", ["type"] = "Soutien", ["couleur"] = "LR", ["princ"] = "[[Booster Attaque]]", ["descPrinc"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["alterPrinc"] = "Force ↑", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "Force +2", ["10"] = "Force +2"},
	{["nom"] = "Sorcier", ["image"] = "Carte 31 Sorcier KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Soutien", ["couleur"] = "TB", ["princ"] = "[[Booster Magie]]", ["descPrinc"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["alterPrinc"] = "Magie ↑", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Key Scene #1", ["lien"] = "[[Moment-clef|Key Scene]] #1", ["image"] = "Carte 32 Key Scene 1 KHDR.png", ["desc"] = "Key Scene #1", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Arcanes]]", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {20, 23, 26, 29, 32, 36, 40, 45, 50, 55, 60}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Scene #2", ["lien"] = "[[Moment-clef|Key Scene]] #2", ["image"] = "Carte 33 Key Scene 2 KHDR.png", ["desc"] = "Key Scene #2", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "Spark Break", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {20, 23, 26, 29, 32, 36, 40, 45, 50, 55, 60}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Scene #3", ["lien"] = "[[Moment-clef|Key Scene]] #3", ["image"] = "Carte 34 Key Scene 3 KHDR.png", ["desc"] = "Key Scene #3", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "Blade of Seven", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {20, 23, 26, 29, 32, 36, 40, 45, 50, 55, 60}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Art #1", ["lien"] = "[[Illustration|Key Art]] #1", ["image"] = "Carte 35 Key Art 1 KHDR.png", ["desc"] = "Key Art #1", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Diskobolos]]", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {20, 23, 26, 29, 32, 36, 40, 45, 50, 55, 60}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Art #2", ["lien"] = "[[Illustration|Key Art]] #2", ["image"] = "Carte 36 Key Art 2 KHDR.png", ["desc"] = "Key Art #2", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "Atomnium", ["descPrinc"] = "A non-element magic attack.", ["puisPrinc"] = {18, 21, 24, 27, "?", 38, "?", "?", 67, 78, 90}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Booster Attaque|Booster Attaque 1]]", ["descSec"] = "Strength +1 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "Magie +2", ["3"] = "Magie +2", ["5"] = "Magie +2", ["10"] = "Magie +3"},
	{["nom"] = "Darkside", ["image"] = "Carte 37 Darkside KHDR.png", ["desc"] = "An enormous Heartless that appeared on Sora's home island.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "", ["puisPrinc"] = {}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "Force +1"},
	{["nom"] = "Roi Mickey", ["image"] = "Carte 38 Roi Mickey KHDR.png", ["desc"] = "The king of Disney Castle.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "[[Attaque]]", ["descPrinc"] = "A lesser physical attack. ", ["puisPrinc"] = {5, 6, 7, 8, 10, 12, 14, 16, 18, 21, 24}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +1", ["10"] = "HP +1"},
	{["nom"] = "Clochette", ["image"] = "Carte 39 Clochette KHDR.png", ["desc"] = "The little pixie of Never Land.", ["type"] = "Soutien", ["couleur"] = "LV", ["princ"] = "[[Soin]]", ["descPrinc"] = "Restores HP. Amount restored is based on Magic", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 34, 38, 42, 46, 50}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "HP +2", ["10"] = "HP +2"},
	{["nom"] = "Ariel", ["image"] = "Carte 40 Ariel KHDR.png", ["desc"] = "The youngest daughter of Atlantica's King Triton.", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "[[Glacier]]", ["descPrinc"] = "A water-elemental magic attack.", ["puisPrinc"] = {25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Crypto Ombre", ["image"] = "Carte 41 Crypto Ombre KHDR.png", ["desc"] = "A Heartless that believes in strength in numbers.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "A physical attack.", ["puisPrinc"] = {20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Néo Riku", ["image"] = "Carte 42 Néo Riku KHDR.png", ["desc"] = "A replica created from Riku's data.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Arcanes]]", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Art #3", ["lien"] = "[[Illustration|Key Art]] #3", ["image"] = "Carte 43 Key Art 3 KHDR.png", ["desc"] = "Key Art #3", ["type"] = "Magique", ["couleur"] = "LV", ["princ"] = "Shining Star", ["descPrinc"] = "A non-element magic attack.", ["puisPrinc"] = {30, 32, 34, 36, 38, 40, 43, 46, 50, 55, 60}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +2", ["3"] = "Magie +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Kairi", ["image"] = "Carte 44 Kairi KHDR.png", ["desc"] = "Sora and Riku's childhood friend. A caring and kindhearted girl.", ["type"] = "Soutien", ["couleur"] = "LB", ["princ"] = "Gauge Boost", ["descPrinc"] = "Fills the bonus gauge. Stacking Cards does not increase value.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "HP +5", ["10"] = "Force +3"},
	{["nom"] = "Axel", ["image"] = "Carte 45 Axel KHDR.png", ["desc"] = "The 8th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "Ignito Raid", ["descPrinc"] = "A powerful fire-element physical attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Key Scene #4", ["lien"] = "[[Moment-clef|Key Scene]] #4", ["image"] = "Carte 46 Key Scene 4 KHDR.png", ["desc"] = "Key Scene #4", ["type"] = "Magique", ["couleur"] = "LR", ["princ"] = "Rapid Storm", ["descPrinc"] = "A wind-element magic attack.", ["puisPrinc"] = {20, 23, 26, "?", "?", "?", 45, 50, 55, 60, 65}, ["elemPrinc"] = "Rafale", ["1"] = "Magie +1", ["3"] = "Magie +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Terra", ["image"] = "Carte 47 Terra KHDR.png", ["desc"] = "A young man who strives to be a Keyblade Master.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Glacial Arrows Thunder", ["descPrinc"] = "A powerful lightning-element physical attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Foudre", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Aqua", ["image"] = "Carte 48 Aqua KHDR.png", ["desc"] = "The only one of Master Eraqus's pupils to be recognized as a Keyblade Master.", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "[[Impulsion magique]]", ["descPrinc"] = "A powerful water-element magic attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Ventus", ["image"] = "Carte 49 Ventus KHDR.png", ["desc"] = "An apprentice of Master Eraqus.", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "[[Envolée]]", ["descPrinc"] = "A powerful wind-element physical attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Rafale", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Mushu", ["image"] = "Carte 50 Mushu KHDR.png", ["desc"] = "He was once one of the Fa family guardians.", ["type"] = "Magique", ["couleur"] = "LR", ["princ"] = "[[Brasier]]", ["descPrinc"] = "A fire-elemental magic attack.", ["puisPrinc"] = {25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Blues émeraude", ["image"] = "Carte 51 Blues émeraude KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "[[Rafale]]", ["descPrinc"] = "A wind-elemental magic attack.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45}, ["elemPrinc"] = "Rafale", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "La Sorcière", ["image"] = "Carte 52 La Sorcière KHDR.png", ["desc"] = "A form of the Queen assumed to deceive Snow White into eating a poisonous apple.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "[[Arsenic]]", ["descPrinc"] = "A lesser non-elemental magic attack that has a low chance of inflicting poison.", ["puisPrinc"] = {8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}, ["elemPrinc"] = "Non-élémentaire", ["alterPrinc"] = "Poison", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Force +1", ["10"] = "Déf. mag. +2"},
	{["nom"] = "Donald #2", ["lien"] = "[[Donald]] #2", ["image"] = "Carte 53 Donald 2 KHDR.png", ["desc"] = "The Magician of the Royal Court.", ["type"] = "Magique", ["couleur"] = "LV", ["princ"] = "[[Foudre]]", ["descPrinc"] = "A lightning-elemental magic attack.", ["puisPrinc"] = {12, 14, 16, 19, 22, 25, 28, 31, 34, 37, 40}, ["elemPrinc"] = "Foudre", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +1"},
	{["nom"] = "Cloud", ["image"] = "Carte 54 Cloud KHDR.png", ["desc"] = "A warrior who wields a mighty sword.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Cross-Slash", ["descPrinc"] = "A powerful non-element physical attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Non-élémentaire", ["sec"]="[[Booster Attaque|Booster Attaque 2]]", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Séphiroth", ["image"] = "Carte 55 Séphiroth KHDR.png", ["desc"] = "An unsurpassed swordsman once revered as a hero.", ["type"] = "Magique", ["couleur"] = "TR", ["princ"] = "[[Météorites]]", ["descPrinc"] = "A powerful fire-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Brasier", ["sec"] = "[[Booster Magie|Booster Magie 2]]", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Magie ↑", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Key Art #4", ["lien"] = "[[Illustration|Key Art]] #4", ["image"] = "Carte 56 Key Art 4 KHDR.png", ["desc"] = "Key Art #4", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "[[Arcanes]]", ["descPrinc"] = "A powerful physical attack.", ["puisPrinc"] = {15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Roxas", ["image"] = "Carte 57 Roxas KHDR.png", ["desc"] = "The 13th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "[[Trou noir]]", ["descPrinc"] = "A powerful water-element physical attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Naminé", ["image"] = "Carte 58 Naminé KHDR.png", ["desc"] = "A girl with the power to manipulate memories.", ["type"] = "Magique", ["couleur"] = "LV", ["princ"] = "Circle of Innocence", ["descPrinc"] = "A powerful light-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Lumière", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Winnie l'Ourson", ["image"] = "Carte 59 Winnie l'Ourson KHDR.png", ["desc"] = "A little bear living in the Hundred Acre Wood.", ["type"] = "Soutien", ["couleur"] = "LB", ["princ"] = "Magic DEF Sap", ["descPrinc"] = "Target's Magic Resist -5 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["alterSec"] = "Défense magique ↓", ["1"] = "HP +1", ["3"] = "Déf. mag. +1", ["5"] = "Déf. mag. +1", ["10"] = "Déf. mag. +1"},
	{["nom"] = "Xion", ["image"] = "Carte 60 Xion KHDR.png", ["desc"] = "The 14th member of Organization XIII.", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "[[Foudre|Foudre X]]", ["descPrinc"] = "A powerful lightning-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Foudre", ["sec"] = "[[Booster Magie|Booster Magie 2]]", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Magie ↑", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Marluxia", ["image"] = "Carte 61 Marluxia KHDR.png", ["desc"] = "The 11th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "Blossom of Thorns", ["descPrinc"] = "A powerful wind-element physical attack.", ["puisPrinc"] = {38, 42, 46, 50, 54, 58, 62, 66, 70, 75, 80}, ["elemPrinc"] = "Rafale", ["sec"] = "[[Booster Attaque|Booster Attaque 2]]", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Larxene", ["image"] = "Carte 62 Larxene KHDR.png", ["desc"] = "The 12th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "Savage Knives", ["descPrinc"] = "A powerful lightning-element physical attack.", ["puisPrinc"] = {38, 42, 46, 50, 54, 58, 62, 66, 70, 75, 80}, ["elemPrinc"] = "Foudre", ["sec"] = "[[Booster Attaque|Booster Attaque 2]]", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Zexion", ["image"] = "Carte 63 Zexion KHDR.png", ["desc"] = "The 6th member of Organization XIII.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "Meteor Mirage", ["descPrinc"] = "A powerful fire-element magic attack.", ["puisPrinc"] = {38, 42, 46, 50, 54, 58, 62, 66, 70, 75, 80}, ["elemPrinc"] = "Brasier", ["sec"] = "[[Booster Magie|Booster Magie 2]]", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Magie ↑", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Sora Halloween", ["lien"] = "[[Sora]] Halloween", ["image"] = "Carte 64 Sora Halloween KHDR.png", ["desc"] = "A spirited boy chosen by the Keyblade to fight the Heartless.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Pumpkin Pummel", ["descPrinc"] = "Consumes 10% of the bonus gauge to unleash a powerful non-elemental physical attack. Power +5.", ["puisPrinc"] = {38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Booster Attaque|Booster Attaque 2]]", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Xemnas", ["image"] = "Carte 65 Xemnas KHDR.png", ["desc"] = "The 1st member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "Rosea Arcanum", ["descPrinc"] = "Consumes 10% HP to unleash a powerful non-element physical attack. Power +5.", ["puisPrinc"] = {}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Booster Attaque|Booster Attaque 2]]", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "", ["5"] = "", ["10"] = ""},
	{["nom"] = "Saïx", ["image"] = "Carte 66 Saïx KHDR.png", ["desc"] = "The 7th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Dark Break]]", ["descPrinc"] = "Exchanges Defense for a powerful non-element attack.", ["puisPrinc"] = {45, 48, 52, "?", "?", "?", "?", "?", "?", 79, 85}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Booster Attaque]] 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Force ↑", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Roi Mickey B", ["lien"] = "[[Roi Mickey]] B", ["image"] = "Carte 67 Roi Mickey B KHDR.png", ["desc"] = "The king of Disney Castle.", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "Pulsing Flame", ["descPrinc"] = "A powerful water-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "KH III Sora", ["lien"] = "KH III [[Sora]]", ["image"] = "Carte 68 KH III Sora KHDR.png", ["desc"] = "A spirited boy chosen by the Keyblade to fight the Heartless.", ["type"] = "Magique", ["couleur"] = "LV", ["princ"] = "[[Tornade]]", ["descPrinc"] = "A powerful wind-element magic attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Rafale", ["sec"] = "[[Soin]] II", ["descSec"] = "Restores HP. Amount restored is based on Magic.", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "KH III Riku", ["lien"] = "KH III [[Riku]]", ["image"] = "Carte 69 KH III Riku KHDR.png", ["desc"] = "A childhood friend of Sora and Kairi.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Blazing End", ["descPrinc"] = "A powerful fire-element physical attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Brasier", ["sec"] = "Defense Sap 3", ["descSec"] = "Target's Defense -3 for 10s. Stacking Cards does not increase value. Can be applied more than once. ", ["alterSec"] = "Défense ↓", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "KH III Kairi", ["lien"] = "KH III [[Kairi]]", ["image"] = "Carte 70 KH III Kairi KHDR.png", ["desc"] = "Sora and Riku's childhood friend. A caring and kindhearted girl.", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "Radiant Glory", ["descPrinc"] = "A powerful light-element physical attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Lumière", ["sec"] = "Gauge Boost", ["descSec"] = "Fills the bonus gauge. Stacking Cards does not increase value.", ["1"] = "HP +1", ["3"] = "Force +2", ["5"] = "Défense +2", ["10"] = "Déf. mag. +2"},
	{["nom"] = "Vanitas", ["image"] = "Carte 71 Vanitas KHDR.png", ["desc"] = "The embodiment of the darkness extracted from Ventus's heart.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "Spinning Shadows", ["descPrinc"] = "A powerful non-element physical attack that has a chance of inflicting paralysis.", ["puisPrinc"] = {45, "?", "?", "?", "?", "?", "?", "?", "?", "?", 90 }, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "Defense Sap 3", ["descSec"] = "Target's Defense -3 for 10s. Stacking Cards does not increase value. Can be applied more than once. ", ["alterSec"] = "Défense ↓", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Youfie", ["image"] = "Carte 72 Youfie KHDR.png", ["desc"] = "A member of the town's restoration committee.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Icicle Spear", ["descPrinc"] = "A water-element physical attack.", ["puisPrinc"] = {20, "?", "?", "?", "?", "?", "?", "?", "?", 49, 54}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Défense +1", ["10"] = "Force +1"},
	{["nom"] = "Monstro", ["image"] = "Carte 73 Monstro KHDR.png", ["desc"] = "An enormous whale that lives at the bottom of the ocean.", ["type"] = "Magique", ["couleur"] = "TR", ["princ"] = "[[Glacier]]", ["descPrinc"] = "A water-elemental magic attack.", ["puisPrinc"] = {25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Hadès", ["image"] = "Carte 74 Hadès KHDR.png", ["desc"] = "Lord of the Underworld. He seeks to rule over all.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "Ultimate Blaze", ["descPrinc"] = "Consumes 50% HP to unleash a powerful fire-element magic attack. Power +15.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 34, 38, 42, 46, 50}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Magie +2", ["10"] = "Magie +2"},
	{["nom"] = "Potion II", ["lien"] = "[[Potion]] II", ["image"] = "Carte 75 Potion II KHDR.png", ["desc"] = "An item used to restore HP.", ["type"] = "Soutien", ["couleur"] = "LV", ["princ"] = "[[Potion]] II", ["descPrinc"] = "Restores 80 HP. Stacking Cards does not increase value.", ["puisPrinc"] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Potion]]", ["descSec"] = "Restores 50 HP. Stacking Cards does not increase value.", ["1"] = "HP +1", ["3"] = "HP +5", ["5"] = "HP +5", ["10"] = "HP +5"},
	{["nom"] = "Jafar (Génie)", ["image"] = "Carte 76 Jafar (Génie) KHDR.png", ["desc"] = "An all-powerful genie. Jafar steals the lamp and uses his final wish to achieve this transformation.", ["type"] = "Soutien", ["couleur"] = "TV", ["princ"] = "Absorption", ["descPrinc"] = "Absorbs 50 HP. Stacking Cards does not increase value.", ["puisPrinc"] = {50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50}, ["elemPrinc"] = "Non-élémentaire", ["1"] = "HP +1", ["3"] = "Magie +3", ["5"] = "Défense +3", ["10"] = "Force +3"},
	{["nom"] = "Roxas Festif", ["lien"] = "[[Roxas]] Festif", ["image"] = "Carte 77 Roxas Festif KHDR.png", ["desc"] = "The 13th member of Organization XIII.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "Radiant Star", ["descPrinc"] = "A powerful light-element magic attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Lumière", ["sec"] = "Magic DEF Sap 3", ["descSec"] = "Target's Magic Resist -3 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["alterSec"] = "Défense magique ↓", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Ansem", ["lien"] = "[[Ansem, le chercheur des Ténèbres|Ansem]]", ["image"] = "Carte 78 Ansem KHDR.png", ["desc"] = "A wise man who devoted his life to researching the Heartless and uncovering the world's secrets.", ["type"] = "Physique", ["couleur"] = "TR", ["princ"] = "[[Estoc Brasier|Dark Fire Raid]]", ["descPrinc"] = "A fire-element physical attack.", ["puisPrinc"] = {15, 17, 19, 22, 25, 28, 31, 34, 37, 40, 45}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Défense +1"},
	{["nom"] = "Key Art #5", ["lien"] = "[[Illustration|Key Art]] #5", ["image"] = "Carte 79 Key Art 5 KHDR.png", ["desc"] = "Key Art #5", ["type"] = "Magique", ["couleur"] = "LR", ["princ"] = "[[Foudre|Foudre X]]", ["descPrinc"] = "A powerful lightning-element magic attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Foudre", ["sec"] = "Poison", ["descSec"] = "", ["alterSec"] = "Poison", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Key Art #6", ["lien"] = "[[Illustration|Key Art]] #6", ["image"] = "Carte 80 Key Art 6 KHDR.png", ["desc"] = "Key Art #6", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "[[Brasier|Brasier X]]", ["descPrinc"] = "A powerful fire-element magic attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Brasier", ["sec"] = "Paralysie", ["descSec"] = "", ["alterSec"] = "Paralysie", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Key Art #7", ["lien"] = "[[Illustration|Key Art]] #7", ["image"] = "Carte 81 Key Art 7 KHDR.png", ["desc"] = "Key Art #7", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "[[Trou noir]]", ["descPrinc"] = "A powerful water-element physical attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "Merlin", ["image"] = "Carte 82 Merlin KHDR.png", ["desc"] = "A great sorcerer.", ["type"] = "Soutien", ["couleur"] = "LB", ["princ"] = "[[Soin]]", ["descPrinc"] = "Restores HP. Amount restored is based on Magic.", ["puisPrinc"] = {15, 18, 21, 24, 27, 30, 34, 38, 42, 46, 50}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Soin]]", ["descSec"] = "Restores HP. Amount restored is based on Magic.", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +1"},
	{["nom"] = "Yuna", ["image"] = "Carte 83 Yuna KHDR.png", ["desc"] = "A member of a mysterious trio.", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "[[Brasier]]", ["descPrinc"] = "A fire-elemental magic attack.", ["puisPrinc"] = {30, "?", "?", "?", "?", "?", "?", "?", "?", "?", 60}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +1"},
	{["nom"] = "Pat Hibulaire", ["image"] = "Carte 84 Pat Hibulaire KHDR.png", ["desc"] = "Mickey's rival.", ["type"] = "Physique", ["couleur"] = "TV", ["princ"] = "[[Estoc Brasier|Dark Fire Raid]]", ["descPrinc"] = "A fire-element physical attack.", ["puisPrinc"] = {30, "?", "?", "?", "?", "?", "?", "?", "?", "?", 65}, ["elemPrinc"] = "Brasier", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +1"},
	{["nom"] = "Maître Xehanort", ["image"] = "Carte 85 Maître Xehanort KHDR.png", ["desc"] = "The most powerful Keyblade master of them all.", ["type"] = "Magique", ["couleur"] = "TB", ["princ"] = "[[Brasier|Brasier X]]", ["descPrinc"] = "A powerful fire-element magic attack.", ["puisPrinc"] = {50, "?", "?", "?", "?", "?", "?", "?", "?", "?", 100}, ["elemPrinc"] = "Brasier", ["sec"] = "[[Booster Magie]] 2", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["3"] = "Magie +1", ["5"] = "Magie +1", ["10"] = "Magie +2"},
	{["nom"] = "Sora & Riku", ["lien"] = "[[Sora]] & [[Riku]]", ["image"] = "Carte 86 Sora & Riku KHDR.png", ["desc"] = "Two boys who wield Keyblades to fight the Heartless", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "Radiant Glory", ["descPrinc"] = "A powerful light-element physical attack.", ["puisPrinc"] = {60, "?", "?", "?", "?", "?", "?", "?", "?", "?", 110}, ["elemPrinc"] = "Lumière", ["sec"] = "[[Booster Attaque]] 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
	{["nom"] = "KH III Roi Mickey", ["lien"] = "KH III [[Roi Mickey]]", ["image"] = "Carte 87 KH III Roi Mickey KHDR.png", ["desc"] = "The king of Disney Castle.", ["type"] = "Physique", ["couleur"] = "LR", ["princ"] = "Storm Dance", ["descPrinc"] = "A powerful wind-element physical attack.", ["puisPrinc"] = {20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 50}, ["elemPrinc"] = "Rafale", ["1"] = "HP +1", ["3"] = "HP +1", ["5"] = "Force +1", ["10"] = "Défense +1"},
	{["nom"] = "Key Art #8", ["lien"] = "[[Illustration|Key Art]] #8", ["image"] = "Carte 88 Key Art 8 KHDR.png", ["desc"] = "Key Art #8", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "Extreme Arcana", ["descPrinc"] = "A powerful non-element physical attack.", ["puisPrinc"] = {60, "?", "?", "?", "?", "?", "?", "?", "?", "?", 120}, ["elemPrinc"] = "Non-élémentaire", ["sec"] = "[[Booster Attaque]] 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["3"] = "Force +1", ["5"] = "Force +1", ["10"] = "Force +2"},
}

local iconesElem = {
	["Physique"] = "Icône Physique KHDR.png|Physique",
	["Physique supérieure"] = "Icône Physique KHDR.png|Physique supérieure",
	["Magique"] = "Icône Magie KHDR.png|Magique",
	["Magique supérieure"] = "Icône Magie KHDR.png|Magique supérieure",
	["Magie"] = "Icône Magie KHDR.png|Magie",
	["Soutien"] = "Icône Soutien KHDR.png|Soutien",
	["Brasier"] = "Icône Brasier KHDR.png|Brasier",
	["Eau"] = "Icône Eau KHDR.png|Eau",
	["Foudre"] = "Icône Foudre KHDR.png|Foudre",
	["Rafale"] = "Icône Rafale KHDR.png|Rafale",
	["Lumière"] = "Icône Lumière KHDR.png|Lumière",
	["Ténèbres"] = "Icône Ténèbres KHDR.png|Ténèbres",
	["Non-élémentaire"] = "Icône Non-élémentaire KHDR.png|Non-élémentaire",
	["Sommeil"] = "Icône Sommeil KHDR.png|Sommeil",
	["Paralysie"] = "Icône Paralysie KHDR.png|Paralysie",
	["Poison"] = "Icône Poison KHDR.png|Poison",
	["Aveugle"] = "Icône Aveugle KHDR.png|Aveugle",
	["Force ↑"]="Icône Force ↑ KHDR.png|Force ↑",
	["Défense ↑"]="Icône Défense ↑ KHDR.png|Défense ↑",
	["Magie ↑"]="Icône Magie ↑ KHDR.png|Magie ↑",
	["Défense magique ↑"]="Icône Défense magique ↑ KHDR.png|Défense magique ↑",
	["Force ↓"]="Icône Force ↓ KHDR.png|Force ↓",
	["Défense ↓"]="Icône Défense ↓ KHDR.png|Défense ↓",
	["Magie ↓"]="Icône Magie ↓ KHDR.png|Magie ↓",
	["Défense magique ↓"]="Icône Défense magique ↓ KHDR.png|Défense magique ↓",
	["Soin"] = "Soin",
}

function formatAtt(tab, lineSep)
	local stringBuilder=""
	for _, att in ipairs(tab) do
		for _, elem in ipairs(att) do
			stringBuilder=stringBuilder.. (elem == "Soin" and "Soin" or "[[Fichier:" .. (iconesElem[elem] and iconesElem[elem] or "Erreur "..elem) .. "|25x25px]]")
		end
		stringBuilder = stringBuilder .. lineSep
	end
	return strsub(stringBuilder,1, (-mw.ustring.len(lineSep)-1))
end

function formatRes(tab)
	local stringBuilder=""
	for _, elem in ipairs(tab) do
		stringBuilder=stringBuilder.. "[[Fichier:" .. (iconesElem[elem] and iconesElem[elem] or "Erreur "..elem) .. "|25x25px]]" .. " "
	end
	return strsub(stringBuilder, 1, -2)
end

local Medailles = {
	["Bronze"] = "Icône Album Bronze KHDR.png",
	["Argent"] = "Icône Album Argent KHDR.png",
	["Or"] = "Icône Album Or KHDR.png",
	["Arc-en-ciel"] = "Icône Album Arc-en-ciel KHDR.png",
}

--Construit le tableau album pour la page Album (Dark Road)
function StatsKHDR.albumEnnemis(frame)
	local stringBuilder = "<tabber>"
	local tabLength = 10
	local albumSize = #KHDREnemyAlbum
	local tableHeader = [[{|class="KDR Donnees" style="width:100%;"
!N°
!Image
!Nom
!Description
!Récompenses
]]
	local runningStart = 0
	for index, contents in ipairs(KHDREnemyAlbum) do
		if (index % tabLength == 1) then
			if index > 1 then
				stringBuilder = stringBuilder .. "|}\n|-|\n"
			end
			local tabEnd = index + tabLength - 1
			if (tabEnd > albumSize) then
				stringBuilder = stringBuilder .. index .. "-" .. albumSize .. "=\n"
			else
				stringBuilder = stringBuilder .. index .. "-" .. tabEnd .. "=\n"
			end
			stringBuilder = stringBuilder .. tableHeader
		end
		stringBuilder = stringBuilder .. "|-\n"
		stringBuilder = stringBuilder .. "|style=\"text-align:center;\"|" .. index.."\n"
		stringBuilder = stringBuilder .. "|[[Fichier:" .. contents["image"] .. "|100x100px|center]]\n"
		stringBuilder = stringBuilder .. "|[[" .. (contents["lien"] and contents["lien"] or contents["nom"]) .. "]]"..(contents["nomen"] and ("<br /><small>''"..contents["nomen"].."''</small>") or "").."\n"
		stringBuilder = stringBuilder .. "|" .. (contents["type"] and ("Type : " .. contents["type"] .. "<br>") or "") .. (contents["Att"] and ("Attaque : " .. formatAtt(contents["Att"], " — ") .. "<br>") or "") .. (contents["Res"] and ("Résistance : " .. formatRes(contents["Res"]) .. "<br>") or "") .. (contents["Imm"] and ("Immunité : " .. formatRes(contents["Imm"]) .. "<br>") or "") .. (contents["Faib"] and ("Faiblesse : " .. formatRes(contents["Faib"]) .. "<br>") or "") .. (contents["Bonus"] and ("Bonus : " .. contents["Bonus"] .. "<br>") or "") .. (contents["Stats"] and ("Stats : " .. contents["Stats"] .. "<br>") or "") .. "\n"
		stringBuilder = stringBuilder .. "|" .. (contents["1"] and ("[[Fichier:" .. Medailles["Bronze"].."|25x25px]] 1 : " .. contents["1"] .. "<br>") or "") .. (contents["10"] and ("[[Fichier:" .. Medailles["Argent"].."|25x25px]] 10 : " .. contents["10"] .. "<br>") or "") .. (contents["100"] and ("[[Fichier:" .. Medailles["Or"].."|25x25px]] 100 : " .. contents["100"] .. "<br>") or "") .. (contents["1000"] and ("[[Fichier:" .. Medailles["Arc-en-ciel"].."|25x25px]] 1000 : " .. contents["1000"] .. "<br>") or "") .. "\n"
	end
	stringBuilder = stringBuilder .. "</tabber>\n"
	return frame:preprocess(stringBuilder)
end

--Renvoie la ligne du tableau KHDREnemyAlbum pour le modèle Stats Sans-cœur
function infosEnnemis(num)
	return KHDREnemyAlbum[num]
end

--Crée une ligne de tableau dans le modèle Quête KHDR
function ligneQuete(ennemi, niveau)
	niveau = (niveau and mw.ustring.gsub(niveau,"%s*","") or "Erreur niveau gsub")
	local stats = KHDREnemyAlbum[KHDREnemyIndex[ennemi]]
	local stringBuilder = ""
	if not (stats) then
		stringBuilder = "Erreur " .. ennemi .. " " .. niveau .. "\n"
	else 
		stringBuilder = stringBuilder .. "|[[Fichier:" .. stats["image"] .. "|50x50px|center]]\n"
		stringBuilder = stringBuilder .. "|[[" .. (stats["lien"] and stats["lien"] or stats["nom"]) .. "]]\n"
		stringBuilder = stringBuilder .. "|"..niveau.."\n"
		stringBuilder = stringBuilder .. "|"..formatAtt(stats["Att"], "<br>").."\n"
		stringBuilder = stringBuilder .. "|"..(stats["Res"] and formatRes(stats["Res"]) or "").."\n"
		stringBuilder = stringBuilder .. "|"..(stats["Imm"] and formatRes(stats["Imm"]) or "").."\n"
		stringBuilder = stringBuilder .. "|"..(stats["Faib"] and formatRes(stats["Faib"]) or "").."\n"
	end
	return stringBuilder
end

function StatsKHDR.tableauQuete(frame)
	local Template=require("Module:Stats/Template")
	local args=Template.CleanArgs(frame)
	local stringBuilder = ""
	if (args["scène intro"] and args["scène intro"]~="") then
		stringBuilder = stringBuilder..[[{|class="KDR Donnees" style="width:100%;"
|-
!]].."[[File:Icône cinématique KHUX.png|35x35px]] Scène d'introduction\n"..[[
|-
|
]].. args["scène intro"].."\n|}\n"
	end
	stringBuilder = stringBuilder .. [[{|class="KDR Donnees" style="width:100%; text-align:center;"
|-
!N°
!Image
!Nom
!Niveau
!width="60px"|Attaque
!width="120px"|Résistance
!width="120px"|Immunité
!width="120px"|Faiblesse
|-
!colspan="8"|
Monde : ]]..args["monde"].."\n"
	local randomLine = "|colspan=\"7\" style=\"text-align:center;\"|[[Fichier:Icône changement KHDR.png|40x40px]] Aléatoire\n"
	if (args["combats"] and args["combats"]~="" and tonumber(args["combats"]) > 0) then
		for i=1,args["combats"] do
			stringBuilder = stringBuilder .. "|-\n"
			stringBuilder = stringBuilder .. "|"..i.."\n"
			local ennemi = args[i*2-1]
			local niv = args[i*2]
			if ennemi == "Aléatoire" then
				stringBuilder = stringBuilder .. randomLine
			else
				stringBuilder = stringBuilder .. ligneQuete(ennemi,niv)
			end
		end
	end
	stringBuilder = stringBuilder .. "|}\n"
	if (args["combats"] and args["combats"]~="" and tonumber(args["combats"]) > 0 and args["aléatoires"] and args["aléatoires"]~="" and tonumber(args["aléatoires"]) > 0) then
		stringBuilder = stringBuilder .. [[
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid black;"
!
]] .. "[[Fichier:Icône changement KHDR.png|40x40px]] " .. [[Ennemis aléatoires
|-
|style="padding: 0;"|
{|class="KDR Donnees" style="width:100%; text-align:center;"
|-
!Image
!Nom
!Niveau
!width="60px"|Attaque
!width="120px"|Résistance
!width="120px"|Immunité
!width="120px"|Faiblesse
|-
]]
		for i=tonumber(args["combats"])+1, tonumber(args["combats"])+tonumber(args["aléatoires"]) do
			stringBuilder = stringBuilder .. "|-\n"
			stringBuilder = stringBuilder .. ligneQuete(args[i*2-1], args[i*2])
		end
		stringBuilder = stringBuilder .. "|}\n|}\n"
	end
	if (args["scène fin"] and args["scène fin"]~="") then
		stringBuilder = stringBuilder..[[{|class="KDR Donnees" style="width:100%;"
|-
!]].."[[File:Icône cinématique KHUX.png|35x35px]] Scène de fin\n"..[[
|-
|
]].. args["scène fin"].."\n|}\n"
	end
	return frame:preprocess(stringBuilder)
end


--Album de cartes
function StatsKHDR.albumCartes(frame)
	local stringBuilder = "<tabber>"
	local tabLength = 10
	local albumSize = #KHDRCardAlbum
	local tableHeader = [[{|class="KDR Donnees" style="width:100%;"
!N°
!Image
!Carte
!colspan="2"|Compétences
!width="180px"|Récompenses
]]
	local runningStart = 0
	for index, contents in ipairs(KHDRCardAlbum) do
		if (index % tabLength == 1) then
			if index > 1 then
				stringBuilder = stringBuilder .. "|}\n|-|\n"
			end
			local tabEnd = index + tabLength - 1
			if (tabEnd > albumSize) then
				stringBuilder = stringBuilder .. index .. "-" .. albumSize .. "=\n"
			else
				stringBuilder = stringBuilder .. index .. "-" .. tabEnd .. "=\n"
			end
			stringBuilder = stringBuilder .. tableHeader
		end
		stringBuilder = stringBuilder .. "|-\n"
		local rowspan="1"
		if contents["sec"] then
			rowspan="2"
		end
		stringBuilder = stringBuilder .. "|style=\"text-align:center;\" rowspan=\""..rowspan.."\"|" .. index.."\n"
		stringBuilder = stringBuilder .. "|rowspan=\""..rowspan.."\"|[[Fichier:" .. contents["image"] .. "|100x100px|center]]\n"
		stringBuilder = stringBuilder .. "|rowspan=\""..rowspan.."\"|<p>" .. (contents["lien"] and contents["lien"] or "[["..contents["nom"].."]]") .. "</p><p><small>''"..contents["desc"].."''</small></p>\n"
		stringBuilder = stringBuilder .. "!Princ.\n"
		local compMain = {contents["type"], contents["elemPrinc"], contents["alterPrinc"]}
		stringBuilder = stringBuilder .. "|style=\"width:100px;\"|"..contents["princ"].."<br>"..formatRes(compMain) .. "\n"
		stringBuilder = stringBuilder .. "|rowspan=\""..rowspan.."\"|" .. (contents["1"] and ("[[Fichier:" .. Medailles["Bronze"].."|25x25px]] 1 : " .. contents["1"] .. "<br>") or "") .. (contents["3"] and ("[[Fichier:" .. Medailles["Argent"].."|25x25px]] 3 : " .. contents["3"] .. "<br>") or "") .. (contents["5"] and ("[[Fichier:" .. Medailles["Or"].."|25x25px]] 5 : " .. contents["5"] .. "<br>") or "") .. (contents["10"] and ("[[Fichier:" .. Medailles["Arc-en-ciel"].."|25x25px]] 10 : " .. contents["10"] .. "<br>") or "") .. "\n"
		if contents["sec"] then
			stringBuilder = stringBuilder .. "|-\n!Sec.\n|" .. contents["sec"]
			if contents["alterSec"] then
				stringBuilder = stringBuilder .. "<br>" .. formatRes({contents["alterSec"]})
			end
			stringBuilder = stringBuilder .. "\n"
		end
	end
	stringBuilder = stringBuilder .. "</tabber>\n"
	return frame:preprocess(stringBuilder)
end


local ordreMondes = {"Agrabah", "Pays des Merveilles"}

function formatMondes(tab)
	local stringBuilder = ""
	for _, monde in ipairs(ordreMondes) do
		if (tab[monde]) then
			stringBuilder = stringBuilder .. monde .. " : " .. tab[monde] .. "<br>"
		end
	end
	return strsub(stringBuilder, 1, -5)
end
--<includeonly>
function StatsKHDR.CategorieEnnemi(args) 
    if args["boss"] or args["KDRboss"] then
        return "[[Catégorie:Boss Kingdom Hearts: Dark Road]]"
    else
        return "[[Catégorie:Ennemis Kingdom Hearts: Dark Road]]"
    end 
end
--</includeonly>
function StatsKHDR.Ennemi(args, multiples)
	local Template=require("Module:Stats/Template")
    local stringBuilder = ""
    local stats = infosEnnemis(tonumber(args["KDRnum"]))
    if multiples then stringBuilder = stringBuilder .. Template.OpenTab(args, "KHDR") end -- Ouvre un tab si nécessaire
    stringBuilder = stringBuilder .. Template.OpenContainer("SansCoeur")-----args["theme"])
    stringBuilder = stringBuilder .. Template.OpenBox()
    stringBuilder = stringBuilder .. Template.Header("Statistiques",4)
    stringBuilder = stringBuilder .. Template.MixedRow({
        {["label"]=1, ["text"]="Emplacements", ["colspan"]=1, ["rowspan"]="3", ["style"]="vertical-align:center;"},
        {["label"]=1, ["text"]="Histoire", ["colspan"]=1, ["style"]=""},
        {["text"]=stats["Histoire"], ["colspan"]=2, ["style"]=""},
    })
    stringBuilder = stringBuilder .. Template.MixedRow({
        {["label"]=1, ["text"]="Mondes", ["colspan"]=1, ["style"]=""},
        {["text"]=formatMondes(stats["Mondes"]), ["colspan"]=2, ["style"]=""},
    })
    stringBuilder = stringBuilder .. Template.MixedRow({
        {["label"]=1, ["text"]="Evénements", ["colspan"]=1, ["style"]=""},
        {["text"]=stats["Events"], ["colspan"]=2, ["style"]=""},
    })
    stringBuilder = stringBuilder .. Template.LabelRow({
        {["label"]="Attaques", ["style"]="width:25%"},
        {["label"]="Résistances", ["style"]="width:25%"},
        {["label"]="Immunités", ["style"]="width:25%"},
        {["label"]="Faiblesses", ["style"]="width:25%"},
    })
    stringBuilder = stringBuilder .. Template.DataRow({
        {["data"]=(formatAtt(stats["Att"], "<br>")), ["class"]="numberData"},
        {["data"]=(stats["Res"] and formatRes(stats["Res"]) or "-"), ["class"]="numberData"},
        {["data"]=(stats["Imm"] and formatRes(stats["Imm"]) or "-"), ["class"]="numberData"},
        {["data"]=(stats["Faib"] and formatRes(stats["Faib"]) or "-"), ["class"]="numberData"},
    })
    if stats["Stats"] then
        stringBuilder = stringBuilder .. Template.MixedRow({
            {["label"]=1, ["text"]="Stats", ["colspan"]=1, ["style"]=""},
            {["text"]=stats["Stats"], ["colspan"]=3, ["style"]=""},
        })
    end
    if stats["Bonus"] then
        stringBuilder = stringBuilder .. Template.MixedRow({
            {["label"]=1, ["text"]="Bonus", ["colspan"]=1, ["style"]=""},
            {["text"]=stats["Bonus"], ["colspan"]=3, ["style"]=""},
        })
    end
    stringBuilder = stringBuilder .. Template.CloseContainer()
    stringBuilder = stringBuilder .. Template.ContainerLine()
    stringBuilder = stringBuilder .. Template.OpenBox()
    stringBuilder = stringBuilder .. Template.Header("Album",4)
    stringBuilder = stringBuilder .. Template.MixedRow({
        {["label"]=1, ["text"]="N° [[Album (Dark Road)|Album]]", ["colspan"]=1, ["style"]=""},
        {["text"]=args["KDRnum"], ["colspan"]=3, ["style"]=""},
    })
    stringBuilder = stringBuilder .. Template.Separator("Récompenses par ennemis vaincus",4)
    stringBuilder = stringBuilder .. Template.LabelRow({
        {["label"]="[[Fichier:Icône Album Bronze KHDR.png|25x25px]] 1", ["style"]="width:25%;"},
        {["label"]="[[Fichier:Icône Album Argent KHDR.png|25x25px]] 10", ["style"]="width:25%;"},
        {["label"]="[[Fichier:Icône Album Or KHDR.png|25x25px]] 100", ["style"]="width:25%;"},
        {["label"]="[[Fichier:Icône Album Arc-en-ciel KHDR.png|25x25px]] 1000", ["style"]="width:25%;"},
    })
    stringBuilder = stringBuilder .. Template.DataRow({
        {["data"]=(stats["1"] or "N/D"), ["class"]="textData"},
        {["data"]=(stats["10"] or "N/D"), ["class"]="textData"},
        {["data"]=(stats["100"] or "N/D"), ["class"]="textData"},
        {["data"]=(stats["1000"] or "N/D"), ["class"]="textData"},
    })
    stringBuilder = stringBuilder .. Template.CloseContainer()
    stringBuilder = stringBuilder .. Template.CloseFinal()
    --stringBuilder = stringBuilder .. Stats.Categories(args, "KDR", "ennemis")
    if multiples then stringBuilder = stringBuilder .. Template.CloseTab() end -- Ferme un tab si nécessaire
    return stringBuilder
end


return StatsKHDR
Sauf mention contraire, le contenu de la communauté est disponible sous licence CC-BY-SA.