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.
|
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 = {}
--- Adapted from Dev:String
function strsub( s, i, j )
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return ""
--return str._error( 'string subset index out of range', frame )
end
if j < i then
return ""
--return str._error( 'string subset indices out of order', frame )
end
return mw.ustring.sub( s, i, j )
end
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) -- TODO Indices de Lua à vérifier
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) -- TODO Indices de Lua à vérifier
end
local KHDREnemyAlbum = {
{["nom"] = "Ombre", ["nomen"] = "Shadow", ["image"] = "Ombre KHχ.png", ["type"]="Sans-cœur", ["Histoire"] = Eps({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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({}), ["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"}
}
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"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Keyblade", ["lien"] = "Keyblade (Dark Road)|Keyblade", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Keyblade", ["lien"] = "Keyblade (Dark Road)|Keyblade", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Ombre", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Ombre", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Ombre", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Abu", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Abu", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Abu", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Défense +1"},
{["nom"] = "Cartes Soldats", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Cartes Soldats", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Cartes Soldats", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Rondouillard", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Soldat", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Bandit", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Tidus", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Défense +1", ["1000"] = "Force +1"},
{["nom"] = "Selphie", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Défense +1", ["1000"] = "Force +1"},
{["nom"] = "Wakka", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Défense +1", ["1000"] = "Force +1"},
{["nom"] = "Nocturne Rouge", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Rhapsodie Bleue", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Opéra Jaune", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Potion", ["image"] = "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", ["10"] = "HP +5", ["100"] = "HP +5", ["1000"] = "HP +5"},
{["nom"] = "Reine Minnie", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +2", ["1000"] = "HP +2"},
{["nom"] = "Dingo", ["image"] = "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"] = "Défense ↑", ["1"] = "HP +1", ["10"] = "HP +5", ["100"] = "Défense +2", ["1000"] = "Défense +2"},
{["nom"] = "Donald", ["image"] = "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"] = "Défense magique ↑", ["1"] = "HP +1", ["10"] = "HP +5", ["100"] = "Déf. mag. +2", ["1000"] = "Déf. mag. +2"},
{["nom"] = "Reine de Cœur", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Maléfique", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Capitaine Crochet", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Alice", ["image"] = "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", ["10"] = "HP +5", ["100"] = "HP +5", ["1000"] = "HP +5"},
{["nom"] = "Le Génie", ["image"] = "Le Génie KHDR.png", ["desc"] = "A bubbly, boisterous character who lives inside a magic lamp.", ["type"] = "Soutien", ["couleur"] = "LR", ["princ"] = "Attack Boost", ["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", ["1"] = "HP +1", ["10"] = "HP +5", ["100"] = "Force +2", ["1000"] = "Force +2"},
{["nom"] = "Sorcier", ["image"] = "Sorcier KHDR.png", ["desc"] = "A Heartless that casts magic.", ["type"] = "Soutien", ["couleur"] = "TB", ["princ"] = "Magic Boost", ["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", ["1"] = "HP +1", ["10"] = "HP +5", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Key Scene #1", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Scene #2", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Scene #3", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Art #1", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Art #2", ["image"] = "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"] = "Attack Boost 1", ["descSec"] = "Strength +1 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "Magie +2", ["10"] = "Magie +2", ["100"] = "Magie +2", ["1000"] = "Magie +3"},
{["nom"] = "Darkside", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "Force +1"},
{["nom"] = "Roi Mickey", ["image"] = "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"] = "", ["1"] = "HP +1", ["10"] = "HP +1", ["100"] = "HP +1", ["1000"] = "HP +1"},
{["nom"] = "Clochette", ["image"] = "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", ["10"] = "HP +1", ["100"] = "HP +2", ["1000"] = "HP +2"},
{["nom"] = "Ariel", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Crypto Ombre", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Néo Riku", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Art #3", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Kairi", ["image"] = "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", ["10"] = "HP +5", ["100"] = "HP +5", ["1000"] = "Force +3"},
{["nom"] = "Axel", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Key Scene #4", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Terra", ["image"] = "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", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Aqua", ["image"] = "Aqua KHDR.png", ["desc"] = "The only one of Master Eraqus's pupils to be recognized as a Keyblade Master.", ["type"] = "Magique", ["couleur"] = "LB", ["princ"] = "Magic Pulse", ["descPrinc"] = "A powerful water-element magic attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Ventus", ["image"] = "Ventus KHDR.png", ["desc"] = "An apprentice of Master Eraqus.", ["type"] = "Physique", ["couleur"] = "LV", ["princ"] = "Air Flair", ["descPrinc"] = "A powerful wind-element physical attack.", ["puisPrinc"] = {25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65}, ["elemPrinc"] = "Rafale", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Mushu", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Blues émeraude", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "La Sorcière", ["image"] = "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"] = "Poison", ["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", ["1"] = "HP +1", ["10"] = "", ["100"] = "", ["1000"] = ""},
{["nom"] = "Donald #2", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +1"},
{["nom"] = "Cloud", ["image"] = "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"]="Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Séphiroth", ["image"] = "Séphiroth KHDR.png", ["desc"] = "An unsurpassed swordsman once revered as a hero.", ["type"] = "Magique", ["couleur"] = "TR", ["princ"] = "Meteor Rain", ["descPrinc"] = "A powerful fire-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Brasier", ["sec"] = "Magic Boost 2", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Key Art #4", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Force +1"},
{["nom"] = "Roxas", ["image"] = "Roxas KHDR.png", ["desc"] = "The 13th member of Organization XIII.", ["type"] = "Physique", ["couleur"] = "TB", ["princ"] = "Black Hole", ["descPrinc"] = "A powerful water-element physical attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Naminé", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Winnie l'Ourson", ["image"] = "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", ["1"] = "HP +1", ["10"] = "Déf. mag. +1", ["100"] = "Déf. mag. +1", ["1000"] = "Déf. mag. +1"},
{["nom"] = "Xion", ["image"] = "Xion KHDR.png", ["desc"] = "The 14th member of Organization XIII.", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "Foudre X", ["descPrinc"] = "A powerful lightning-element magic attack.", ["puisPrinc"] = {40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80}, ["elemPrinc"] = "Foudre", ["sec"] = "Magic Boost 2", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Marluxia", ["image"] = "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"] = "Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Larxene", ["image"] = "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"] = "Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Zexion", ["image"] = "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"] = "Magic Boost 2", ["descSec"] = "Magic +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Sora Halloween", ["image"] = "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"] = "Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Xemnas", ["image"] = "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"] = "Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "", ["100"] = "", ["1000"] = ""},
{["nom"] = "Saïx", ["image"] = "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"] = "Attack Boost 2", ["descSec"] = "Strength +2 for 10s. Stacking Cards does not increase value. Can be applied more than once.", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Roi Mickey B", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "KH III Sora", ["image"] = "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", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "KH III Riku", ["image"] = "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. ", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "KH III Kairi", ["image"] = "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", ["10"] = "Force +2", ["100"] = "Défense +2", ["1000"] = "Déf. mag. +2"},
{["nom"] = "Vanitas", ["image"] = "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. ", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "Force +2"},
{["nom"] = "Youfie", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Défense +1", ["1000"] = "Force +1"},
{["nom"] = "Monstro", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Hadès", ["image"] = "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", ["10"] = "HP +1", ["100"] = "Magie +2", ["1000"] = "Magie +2"},
{["nom"] = "Potion II", ["image"] = "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", ["10"] = "HP +5", ["100"] = "HP +5", ["1000"] = "HP +5"},
{["nom"] = "Jafar (Génie)", ["image"] = "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", ["10"] = "Magie +3", ["100"] = "Défense +3", ["1000"] = "Force +3"},
{["nom"] = "Roxas Festif", ["image"] = "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.", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Ansem", ["lien"] = "Ansem, le chercheur des Ténèbres|Ansem", ["image"] = "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"] = "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", ["10"] = "HP +1", ["100"] = "Force +1", ["1000"] = "Défense +1"},
{["nom"] = "Key Art #5", ["image"] = "Key Art 5 KHDR.png", ["desc"] = "Key Art #5", ["type"] = "Magique", ["couleur"] = "LR", ["princ"] = "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"] = "", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Key Art #6", ["image"] = "Key Art 6 KHDR.png", ["desc"] = "Key Art #6", ["type"] = "Magique", ["couleur"] = "TV", ["princ"] = "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"] = "", ["1"] = "HP +1", ["10"] = "Magie +1", ["100"] = "Magie +1", ["1000"] = "Magie +2"},
{["nom"] = "Key Art #7", ["image"] = "Key Art 7 KHDR.png", ["desc"] = "Key Art #7", ["type"] = "Physique", ["couleur"] = "LB", ["princ"] = "Black Hole", ["descPrinc"] = "A powerful water-element physical attack.", ["puisPrinc"] = {50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100}, ["elemPrinc"] = "Eau", ["1"] = "HP +1", ["10"] = "Force +1", ["100"] = "Force +1", ["1000"] = "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 ↓",
["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",
}
function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
return count
end
--Construit le tableau album pour la page Album (Dark Road)
function StatsKHDR.albumEnnemis(frame)
local stringBuilder = "<tabber>"
local tabLength = 10
local albumSize = tablelength(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 StatsKHDR.infosEnnemis(frame)
local stringBuilder = ""
local nom=frame.args[1]
return KHDREnemyAlbum[nom]
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 args=frame.args
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 = tablelength(KHDRCardAlbum)
local tableHeader = [[{|class="KDR Donnees" style="width:100%;"
!N°
!Image
!Carte
!colspan="2"|Compétences
!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 .. "|"..contents["princ"].."<br>"..formatRes(compMain) .. "\n"
stringBuilder = stringBuilder .. "|rowspan=\""..rowspan.."\"|" .. (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"
if contents["sec"] then
stringBuilder = stringBuilder .. "|-\n!Sec.\n|" .. contents["sec"] .. "\n"
end
end
stringBuilder = stringBuilder .. "</tabber>\n"
return frame:preprocess(stringBuilder)
end
return StatsKHDR