From 5cf1a8fcfc06b40486879095c6009a4e5a9e6687 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 16 Sep 2024 19:28:07 +0200 Subject: [PATCH] feat: refonte vita --- _data/bestiaires.json | 2 +- _data/creatures.json | 2 +- bestiaire/classes/dataholders/vitaholder.lua | 20 ++++++++++++++++++++ bestiaire/classes/datalist.lua | 3 +++ bestiaire/levels/beasts.lua | 13 ++++++++++++- bestiaire/levels/pnj.lua | 10 +++++----- bestiaire/libs/commands.lua | 2 +- bestiaire/struct.lua | 4 ++-- 8 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 bestiaire/classes/dataholders/vitaholder.lua diff --git a/_data/bestiaires.json b/_data/bestiaires.json index 1a0316d..ecbb24d 100644 --- a/_data/bestiaires.json +++ b/_data/bestiaires.json @@ -1 +1 @@ -[{"list":[{"level":0,"type":"bête","rang":"E","nom":"Belier","categorie":"biologique"},{"level":0,"type":"bête","rang":"E","nom":"Chien","categorie":"biologique"},{"level":0,"type":"bête","rang":"E","nom":"Petit Chien","categorie":"biologique"},{"level":2,"type":"bête","rang":"C","nom":"Loup","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Chef-Loup","categorie":"biologique"},{"level":4,"type":"bête","rang":"A","nom":"Loup Géant","categorie":"biologique"},{"level":2,"type":"bête","rang":"C","nom":"Cheval","categorie":"biologique"},{"level":0,"type":"bête","rang":"E","nom":"Chèvre","categorie":"biologique"},{"level":0,"type":"bête","rang":"E","nom":"Chat","categorie":"biologique"},{"level":1,"type":"bête","rang":"D","nom":"Lynx","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Fauve","categorie":"biologique"},{"level":4,"type":"bête","rang":"A","nom":"Lion géant","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Ours","categorie":"biologique"},{"level":0,"type":"bête","rang":"E","nom":"Rat","categorie":"biologique"},{"level":1,"type":"aerien","rang":"D","nom":"Chauve souris","categorie":"biologique"},{"level":1,"type":"bête","rang":"D","nom":"Gros rat","categorie":"biologique"},{"level":1,"type":"bête","rang":"D","nom":"Nuée de rats","categorie":"biologique"},{"level":1,"type":"aerien","rang":"D","nom":"Nuée de chauve souris","categorie":"biologique"},{"level":1,"type":"bête","rang":"D","nom":"Rat pestiféré","categorie":"biologique"},{"level":2,"type":"bête","rang":"C","nom":"Rat géant","categorie":"biologique"},{"level":2,"type":"aerien","rang":"C","nom":"Chauve souris vampire","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Rat géant pestiféré","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Nuée de rats pestiféré","categorie":"biologique"},{"level":3,"type":"aerien","rang":"B","nom":"Nuée de chauve souris vampire","categorie":"biologique"},{"level":1,"type":"bête","rang":"D","nom":"Renard","categorie":"biologique"},{"level":2,"type":"bête","rang":"C","nom":"Vache","categorie":"biologique"}],"nom":"Animaux","folder":"animaux","description":"Des animaux génériques et communs (ou moins communs)"},{"list":[{"level":2,"type":"bête","rang":"C","nom":"Chihuahua infernal","categorie":"biologique"},{"level":2,"type":"bête","rang":"C","nom":"Chien des enfers","categorie":"biologique"},{"level":3,"type":"bête","rang":"B","nom":"Loup des enfers","categorie":"biologique"},{"level":4,"type":"bête","rang":"A","nom":"Chef-Loup des enfers","categorie":"biologique"},{"level":5,"type":"bête","rang":"S","nom":"Loup du pandémonium","categorie":"biologique"}],"nom":"Démons et enfer","folder":"demons","description":"Créatures des enfers et satanistes"}] \ No newline at end of file +[{"folder":"animaux","list":[{"type":"bête","nom":"Belier","categorie":"biologique","level":0,"rang":"E"},{"type":"bête","nom":"Chien","categorie":"biologique","level":0,"rang":"E"},{"type":"bête","nom":"Petit Chien","categorie":"biologique","level":0,"rang":"E"},{"type":"bête","nom":"Loup","categorie":"biologique","level":2,"rang":"C"},{"type":"bête","nom":"Chef-Loup","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Loup Géant","categorie":"biologique","level":4,"rang":"A"},{"type":"bête","nom":"Cheval","categorie":"biologique","level":2,"rang":"C"},{"type":"bête","nom":"Chèvre","categorie":"biologique","level":0,"rang":"E"},{"type":"bête","nom":"Chat","categorie":"biologique","level":0,"rang":"E"},{"type":"bête","nom":"Lynx","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Fauve","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Lion géant","categorie":"biologique","level":4,"rang":"A"},{"type":"bête","nom":"Ours","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Rat","categorie":"biologique","level":0,"rang":"E"},{"type":"aerien","nom":"Chauve souris","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Gros rat","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Nuée de rats","categorie":"biologique","level":1,"rang":"D"},{"type":"aerien","nom":"Nuée de chauve souris","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Rat pestiféré","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Rat géant","categorie":"biologique","level":2,"rang":"C"},{"type":"aerien","nom":"Chauve souris vampire","categorie":"biologique","level":2,"rang":"C"},{"type":"bête","nom":"Rat géant pestiféré","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Nuée de rats pestiféré","categorie":"biologique","level":3,"rang":"B"},{"type":"aerien","nom":"Nuée de chauve souris vampire","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Renard","categorie":"biologique","level":1,"rang":"D"},{"type":"bête","nom":"Vache","categorie":"biologique","level":2,"rang":"C"}],"description":"Des animaux génériques et communs (ou moins communs)","nom":"Animaux"},{"folder":"demons","list":[{"type":"bête","nom":"Chihuahua infernal","categorie":"biologique","level":2,"rang":"C"},{"type":"bête","nom":"Chien des enfers","categorie":"biologique","level":2,"rang":"C"},{"type":"bête","nom":"Loup des enfers","categorie":"biologique","level":3,"rang":"B"},{"type":"bête","nom":"Chef-Loup des enfers","categorie":"biologique","level":4,"rang":"A"},{"type":"bête","nom":"Loup du pandémonium","categorie":"biologique","level":5,"rang":"S"}],"description":"Créatures des enfers et satanistes","nom":"Démons et enfer"}] \ No newline at end of file diff --git a/_data/creatures.json b/_data/creatures.json index 5cbf91a..637cf09 100644 --- a/_data/creatures.json +++ b/_data/creatures.json @@ -1 +1 @@ -[{"level":0,"armure":{"spe":3,"psy":0,"phy":3},"armes":[{"force":3,"nom":"Corne"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":65,"int":15,"rel":40,"dis":60,"sag":30,"hab":70,"per":70},"parent":"Animaux","name":"Belier","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Charge"},{"value":10,"name":"Evasion"}],"type":"bête","mode":"creature","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Broute","Peut faire une attaque qui fait des dégats mentaux aux végétaux"],["Laine","+2 armures spéciale de base (scale avec le niveau, déjà présent dans les armures)"]],"pression":5,"vita":{"pv":18,"pe":9,"eclat":10}},{"level":0,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":65,"int":15,"rel":40,"dis":60,"sag":30,"hab":70,"per":70},"parent":"Animaux","name":"Chien","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Chasse"},{"value":10,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":18,"pe":9,"eclat":10}},{"level":0,"armure":{"spe":1,"psy":0,"phy":1},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":50,"cha":60,"vol":30,"for":50,"int":15,"rel":40,"dis":60,"sag":30,"hab":85,"per":85},"parent":"Animaux","name":"Petit Chien","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Chasse"},{"value":10,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":15,"pe":9,"eclat":10}},{"level":2,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":75,"cha":60,"vol":30,"for":95,"int":15,"rel":40,"dis":60,"sag":30,"hab":80,"per":70},"parent":"Animaux","name":"Loup","categorie":"biologique","rang":"C","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":30,"pe":15,"eclat":10}},{"level":3,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":80,"cha":60,"vol":30,"for":110,"int":15,"rel":40,"dis":60,"sag":30,"hab":85,"per":70},"parent":"Animaux","name":"Chef-Loup","categorie":"biologique","rang":"B","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":36,"pe":18,"eclat":10}},{"level":4,"armure":{"spe":1,"psy":0,"phy":3},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":100,"cha":60,"vol":30,"for":140,"int":15,"rel":40,"dis":60,"sag":30,"hab":75,"per":55},"parent":"Animaux","name":"Loup Géant","categorie":"biologique","rang":"A","competence":[{"value":20,"name":"Chasse"},{"value":20,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":45,"pe":21,"eclat":10}},{"level":2,"armure":{"spe":1,"psy":0,"phy":4},"armes":[],"faiblesse":"metal","stats":{"con":100,"cha":60,"vol":30,"for":80,"int":15,"rel":50,"dis":60,"sag":30,"hab":65,"per":55},"parent":"Animaux","name":"Cheval","categorie":"biologique","rang":"C","competence":[{"value":15,"name":"Charge"}],"type":"bête","mode":"creature","skill":[["Galop","Peut faire sa vitesse pur sur sa FOR"],["Monture","Peut servir de monture, jouera au même tour"],["Ruade (2 tours de cooldown)","Une attaque qui projette l'ennemi et à 1"]],"pression":5,"vita":{"pv":45,"pe":11,"eclat":10}},{"level":0,"armure":{"spe":1,"psy":0,"phy":3},"armes":[{"force":3,"nom":"Corne"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":65,"int":15,"rel":40,"dis":60,"sag":30,"hab":70,"per":70},"parent":"Animaux","name":"Chèvre","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Charge"},{"value":10,"name":"Evasion"}],"type":"bête","mode":"creature","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Broute","Peut faire une attaque qui fait des dégats mentaux aux végétaux"]],"pression":5,"vita":{"pv":18,"pe":9,"eclat":10}},{"level":0,"armure":{"spe":1,"psy":0,"phy":0},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":50,"cha":60,"vol":30,"for":50,"int":15,"rel":40,"dis":60,"sag":30,"hab":85,"per":85},"parent":"Animaux","name":"Chat","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Pistage"},{"value":10,"name":"Chasse"},{"value":10,"name":"Grimpette"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":15,"pe":9,"eclat":10}},{"level":1,"armure":{"spe":1,"psy":0,"phy":1},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":75,"int":20,"rel":40,"dis":65,"sag":30,"hab":80,"per":70},"parent":"Animaux","name":"Lynx","categorie":"biologique","rang":"D","competence":[{"value":10,"name":"Pistage"},{"value":10,"name":"Chasse"},{"value":10,"name":"Grimpette"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":24,"pe":10,"eclat":10}},{"level":3,"armure":{"spe":1,"psy":0,"phy":1},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":95,"int":30,"rel":40,"dis":75,"sag":30,"hab":100,"per":70},"parent":"Animaux","name":"Fauve","categorie":"biologique","rang":"B","competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"},{"value":10,"name":"Grimpette"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":36,"pe":12,"eclat":10}},{"level":4,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":80,"cha":60,"vol":30,"for":120,"int":35,"rel":40,"dis":80,"sag":30,"hab":95,"per":55},"parent":"Animaux","name":"Lion géant","categorie":"biologique","rang":"A","competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"},{"value":10,"name":"Grimpette"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":45,"pe":13,"eclat":10}},{"level":3,"armure":{"spe":2,"psy":0,"phy":5},"armes":[{"force":4,"nom":"Griffe"},{"force":5,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":110,"cha":60,"vol":30,"for":110,"int":15,"rel":40,"dis":60,"sag":30,"hab":55,"per":55},"parent":"Animaux","name":"Ours","categorie":"biologique","rang":"B","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 2 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":57,"pe":12,"eclat":10}},{"level":0,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":15,"rel":40,"dis":60,"sag":30,"hab":95,"per":95},"parent":"Animaux","name":"Rat","categorie":"biologique","rang":"E","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"pression":5,"vita":{"pv":12,"pe":9,"eclat":10}},{"level":1,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"parent":"Animaux","faiblesse":"air","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":25,"rel":40,"dis":70,"sag":30,"hab":115,"per":95},"rang":"D","resistence":"terre","categorie":"biologique","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"]],"type":"aerien","mode":"creature","name":"Chauve souris","pression":5,"vita":{"pv":13,"pe":10,"eclat":10}},{"level":1,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":50,"cha":60,"vol":30,"for":50,"int":25,"rel":40,"dis":70,"sag":30,"hab":105,"per":85},"parent":"Animaux","name":"Gros rat","categorie":"biologique","rang":"D","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"pression":5,"vita":{"pv":16,"pe":10,"eclat":10}},{"level":1,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":25,"rel":40,"dis":70,"sag":30,"hab":115,"per":95},"parent":"Animaux","name":"Nuée de rats","categorie":"biologique","rang":"D","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."]],"pression":5,"vita":{"pv":13,"pe":10,"eclat":10}},{"level":1,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"parent":"Animaux","faiblesse":"air","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":25,"rel":40,"dis":70,"sag":30,"hab":115,"per":95},"rang":"D","resistence":"terre","categorie":"biologique","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"]],"type":"aerien","mode":"creature","name":"Nuée de chauve souris","pression":5,"vita":{"pv":13,"pe":10,"eclat":10}},{"level":1,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":25,"rel":40,"dis":70,"sag":30,"hab":115,"per":95},"parent":"Animaux","name":"Rat pestiféré","categorie":"biologique","rang":"D","competence":[{"value":10,"name":"Cachette"},{"value":10,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Pestilence","Ses attaques physique font l'effet poison"]],"pression":5,"vita":{"pv":13,"pe":10,"eclat":10}},{"level":2,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":35,"rel":40,"dis":80,"sag":30,"hab":135,"per":95},"parent":"Animaux","name":"Rat géant","categorie":"biologique","rang":"C","competence":[{"value":15,"name":"Cachette"},{"value":15,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"pression":5,"vita":{"pv":14,"pe":11,"eclat":10}},{"level":2,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"parent":"Animaux","faiblesse":"air","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":35,"rel":40,"dis":80,"sag":30,"hab":135,"per":95},"rang":"C","resistence":"terre","categorie":"biologique","competence":[{"value":15,"name":"Cachette"},{"value":15,"name":"Fouille"}],"skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"],["Vampirisme (1 tour de cooldown)","Une attaque au corps à corps qui soigne à l'attaquant 50% des dégats infligés à l'ennemi."]],"type":"aerien","mode":"creature","name":"Chauve souris vampire","pression":5,"vita":{"pv":14,"pe":11,"eclat":10}},{"level":3,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"},{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":75,"rel":40,"dis":120,"sag":30,"hab":215,"per":95},"parent":"Animaux","name":"Rat géant pestiféré","categorie":"biologique","rang":"B","competence":[{"value":15,"name":"Cachette"},{"value":15,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Pestilence","Ses attaques physique font l'effet poison"]],"pression":5,"vita":{"pv":15,"pe":12,"eclat":10}},{"level":3,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":45,"rel":40,"dis":90,"sag":30,"hab":155,"per":95},"parent":"Animaux","name":"Nuée de rats pestiféré","categorie":"biologique","rang":"B","competence":[{"value":15,"name":"Cachette"},{"value":15,"name":"Fouille"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."],["Pestilence","Ses attaques physique font l'effet poison"]],"pression":5,"vita":{"pv":15,"pe":12,"eclat":10}},{"level":3,"armure":{"spe":0,"psy":0,"phy":0},"armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"parent":"Animaux","faiblesse":"air","stats":{"con":40,"cha":60,"vol":30,"for":40,"int":45,"rel":40,"dis":90,"sag":30,"hab":155,"per":95},"rang":"B","resistence":"terre","categorie":"biologique","competence":[{"value":15,"name":"Cachette"},{"value":15,"name":"Fouille"}],"skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."],["Vampirisme (1 tour de cooldown)","Une attaque au corps à corps qui soigne à l'attaquant 50% des dégats infligés à l'ennemi."]],"type":"aerien","mode":"creature","name":"Nuée de chauve souris vampire","pression":5,"vita":{"pv":15,"pe":12,"eclat":10}},{"level":1,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":65,"cha":60,"vol":30,"for":70,"int":30,"rel":45,"dis":60,"sag":30,"hab":80,"per":70},"parent":"Animaux","name":"Renard","categorie":"biologique","rang":"D","competence":[{"value":10,"name":"Chasse"},{"value":10,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"pression":5,"vita":{"pv":21,"pe":10,"eclat":10}},{"level":2,"armure":{"spe":2,"psy":0,"phy":5},"armes":[{"force":3,"nom":"Corne"}],"faiblesse":"metal","stats":{"con":100,"cha":60,"vol":30,"for":90,"int":15,"rel":50,"dis":60,"sag":30,"hab":55,"per":55},"parent":"Animaux","name":"Vache","categorie":"biologique","rang":"C","competence":[{"value":15,"name":"Charge"}],"type":"bête","mode":"creature","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Monture","Peut servir de monture, jouera au même tour"]],"pression":5,"vita":{"pv":45,"pe":11,"eclat":10}},{"level":2,"armure":{"spe":1,"psy":0,"phy":1},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"parent":"Démons et enfer","faiblesse":"ordre","stats":{"con":60,"cha":60,"vol":30,"for":80,"int":15,"rel":40,"dis":60,"sag":30,"hab":95,"per":85},"rang":"C","resistence":"chaos","categorie":"biologique","name":"Chihuahua infernal","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"pression":5,"vita":{"pv":27,"pe":15,"eclat":10}},{"level":2,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"faiblesse":"metal","stats":{"con":75,"cha":60,"vol":30,"for":95,"int":15,"rel":40,"dis":60,"sag":30,"hab":80,"per":70},"parent":"Démons et enfer","name":"Chien des enfers","categorie":"biologique","rang":"C","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"pression":5,"vita":{"pv":30,"pe":15,"eclat":10}},{"level":3,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"parent":"Démons et enfer","faiblesse":"ordre","stats":{"con":80,"cha":60,"vol":30,"for":110,"int":15,"rel":40,"dis":60,"sag":30,"hab":85,"per":70},"rang":"B","resistence":"chaos","categorie":"biologique","name":"Loup des enfers","competence":[{"value":15,"name":"Chasse"},{"value":15,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"pression":5,"vita":{"pv":36,"pe":18,"eclat":10}},{"level":4,"armure":{"spe":1,"psy":0,"phy":2},"armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"parent":"Démons et enfer","faiblesse":"ordre","stats":{"con":85,"cha":60,"vol":30,"for":125,"int":15,"rel":40,"dis":60,"sag":30,"hab":90,"per":70},"rang":"A","resistence":"chaos","categorie":"biologique","name":"Chef-Loup des enfers","competence":[{"value":20,"name":"Chasse"},{"value":20,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"pression":5,"vita":{"pv":42,"pe":21,"eclat":10}},{"level":5,"armure":{"spe":1,"psy":0,"phy":4},"armes":[{"force":4,"nom":"Griffe"},{"force":6,"nom":"Croc"}],"parent":"Démons et enfer","faiblesse":"ordre","stats":{"con":105,"cha":60,"vol":30,"for":155,"int":15,"rel":40,"dis":60,"sag":30,"hab":80,"per":55},"rang":"S","resistence":"chaos","categorie":"biologique","name":"Loup du pandémonium","competence":[{"value":25,"name":"Chasse"},{"value":25,"name":"Pistage"}],"type":"bête","mode":"creature","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"pression":5,"vita":{"pv":51,"pe":24,"eclat":10}}] \ No newline at end of file +[{"vita":{"pv":18,"pe":9,"eclat":10},"pression":5,"name":"Belier","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":65,"rel":40,"hab":70,"con":65},"parent":"Animaux","rang":"E","armes":[{"force":3,"nom":"Corne"}],"categorie":"biologique","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Broute","Peut faire une attaque qui fait des dégats mentaux aux végétaux"],["Laine","+2 armures spéciale de base (scale avec le niveau, déjà présent dans les armures)"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Charge"},{"value":10,"name":"Evasion"}],"armure":{"phy":3,"psy":0,"spe":3},"type":"bête","mode":"creature"},{"vita":{"pv":18,"pe":9,"eclat":10},"pression":5,"name":"Chien","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":65,"rel":40,"hab":70,"con":65},"parent":"Animaux","rang":"E","armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Pistage"},{"value":10,"name":"Chasse"}],"armure":{"phy":2,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":15,"pe":9,"eclat":10},"pression":5,"name":"Petit Chien","stats":{"dis":60,"sag":30,"per":85,"vol":30,"int":15,"cha":60,"for":50,"rel":40,"hab":85,"con":50},"parent":"Animaux","rang":"E","armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Pistage"},{"value":10,"name":"Chasse"}],"armure":{"phy":1,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":54,"pe":27,"eclat":10},"pression":5,"name":"Loup","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":95,"rel":40,"hab":80,"con":75},"parent":"Animaux","rang":"C","armes":[{"force":4,"nom":"Griffe"},{"force":6,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":2,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":3,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":72,"pe":36,"eclat":10},"pression":5,"name":"Chef-Loup","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":110,"rel":40,"hab":85,"con":80},"parent":"Animaux","rang":"B","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":3,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":4,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"vita":{"pv":93,"pe":45,"eclat":10},"pression":5,"name":"Loup Géant","stats":{"dis":60,"sag":30,"per":55,"vol":30,"int":15,"cha":60,"for":140,"rel":40,"hab":75,"con":100},"parent":"Animaux","rang":"A","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":4,"competence":[{"value":20,"name":"Pistage"},{"value":20,"name":"Chasse"}],"armure":{"phy":5,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"vita":{"pv":57,"pe":27,"eclat":10},"pression":5,"name":"Cheval","stats":{"dis":60,"sag":30,"per":55,"vol":30,"int":15,"cha":60,"for":80,"rel":50,"hab":65,"con":100},"parent":"Animaux","rang":"C","armes":[],"categorie":"biologique","skill":[["Galop","Peut faire sa vitesse pur sur sa FOR"],["Monture","Peut servir de monture, jouera au même tour"],["Ruade (2 tours de cooldown)","Une attaque qui projette l'ennemi et à 1"]],"faiblesse":"metal","level":2,"competence":[{"value":15,"name":"Charge"}],"armure":{"phy":5,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":18,"pe":9,"eclat":10},"pression":5,"name":"Chèvre","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":65,"rel":40,"hab":70,"con":65},"parent":"Animaux","rang":"E","armes":[{"force":3,"nom":"Corne"}],"categorie":"biologique","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Broute","Peut faire une attaque qui fait des dégats mentaux aux végétaux"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Charge"},{"value":10,"name":"Evasion"}],"armure":{"phy":3,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":15,"pe":9,"eclat":10},"pression":5,"name":"Chat","stats":{"dis":60,"sag":30,"per":85,"vol":30,"int":15,"cha":60,"for":50,"rel":40,"hab":85,"con":50},"parent":"Animaux","rang":"E","armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Chasse"},{"value":10,"name":"Grimpette"},{"value":10,"name":"Pistage"}],"armure":{"phy":0,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":36,"pe":18,"eclat":10},"pression":5,"name":"Lynx","stats":{"dis":65,"sag":30,"per":70,"vol":30,"int":20,"cha":60,"for":75,"rel":40,"hab":80,"con":65},"parent":"Animaux","rang":"D","armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":1,"competence":[{"value":10,"name":"Chasse"},{"value":10,"name":"Grimpette"},{"value":10,"name":"Pistage"}],"armure":{"phy":1,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":72,"pe":36,"eclat":10},"pression":5,"name":"Fauve","stats":{"dis":75,"sag":30,"per":70,"vol":30,"int":30,"cha":60,"for":95,"rel":40,"hab":100,"con":65},"parent":"Animaux","rang":"B","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":3,"competence":[{"value":15,"name":"Chasse"},{"value":10,"name":"Grimpette"},{"value":15,"name":"Pistage"}],"armure":{"phy":2,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"vita":{"pv":93,"pe":45,"eclat":10},"pression":5,"name":"Lion géant","stats":{"dis":80,"sag":30,"per":55,"vol":30,"int":35,"cha":60,"for":120,"rel":40,"hab":95,"con":80},"parent":"Animaux","rang":"A","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":4,"competence":[{"value":15,"name":"Chasse"},{"value":10,"name":"Grimpette"},{"value":15,"name":"Pistage"}],"armure":{"phy":3,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"vita":{"pv":75,"pe":36,"eclat":10},"pression":5,"name":"Ours","stats":{"dis":60,"sag":30,"per":55,"vol":30,"int":15,"cha":60,"for":110,"rel":40,"hab":55,"con":110},"parent":"Animaux","rang":"B","armes":[{"force":8,"nom":"Griffe"},{"force":10,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 2 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":3,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":9,"psy":0,"spe":4},"type":"bête","mode":"creature"},{"vita":{"pv":12,"pe":9,"eclat":10},"pression":5,"name":"Rat","stats":{"dis":60,"sag":30,"per":95,"vol":30,"int":15,"cha":60,"for":40,"rel":40,"hab":95,"con":40},"parent":"Animaux","rang":"E","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"faiblesse":"metal","level":0,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"parent":"Animaux","vita":{"pv":30,"pe":18,"eclat":10},"pression":5,"name":"Chauve souris","stats":{"dis":70,"sag":30,"per":95,"vol":30,"int":25,"cha":60,"for":40,"rel":40,"hab":115,"con":40},"resistence":"terre","rang":"D","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"]],"faiblesse":"air","level":1,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"aerien","mode":"creature"},{"vita":{"pv":33,"pe":18,"eclat":10},"pression":5,"name":"Gros rat","stats":{"dis":70,"sag":30,"per":85,"vol":30,"int":25,"cha":60,"for":50,"rel":40,"hab":105,"con":50},"parent":"Animaux","rang":"D","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"faiblesse":"metal","level":1,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"vita":{"pv":30,"pe":18,"eclat":10},"pression":5,"name":"Nuée de rats","stats":{"dis":70,"sag":30,"per":95,"vol":30,"int":25,"cha":60,"for":40,"rel":40,"hab":115,"con":40},"parent":"Animaux","rang":"D","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."]],"faiblesse":"metal","level":1,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"parent":"Animaux","vita":{"pv":30,"pe":18,"eclat":10},"pression":5,"name":"Nuée de chauve souris","stats":{"dis":70,"sag":30,"per":95,"vol":30,"int":25,"cha":60,"for":40,"rel":40,"hab":115,"con":40},"resistence":"terre","rang":"D","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"]],"faiblesse":"air","level":1,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"aerien","mode":"creature"},{"vita":{"pv":30,"pe":18,"eclat":10},"pression":5,"name":"Rat pestiféré","stats":{"dis":70,"sag":30,"per":95,"vol":30,"int":25,"cha":60,"for":40,"rel":40,"hab":115,"con":40},"parent":"Animaux","rang":"D","armes":[{"force":1,"nom":"Griffe"},{"force":2,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Pestilence","Ses attaques physique font l'effet poison"]],"faiblesse":"metal","level":1,"competence":[{"value":10,"name":"Fouille"},{"value":10,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"vita":{"pv":48,"pe":27,"eclat":10},"pression":5,"name":"Rat géant","stats":{"dis":80,"sag":30,"per":95,"vol":30,"int":35,"cha":60,"for":40,"rel":40,"hab":135,"con":40},"parent":"Animaux","rang":"C","armes":[{"force":1,"nom":"Griffe"},{"force":3,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"]],"faiblesse":"metal","level":2,"competence":[{"value":15,"name":"Fouille"},{"value":15,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"parent":"Animaux","vita":{"pv":48,"pe":27,"eclat":10},"pression":5,"name":"Chauve souris vampire","stats":{"dis":80,"sag":30,"per":95,"vol":30,"int":35,"cha":60,"for":40,"rel":40,"hab":135,"con":40},"resistence":"terre","rang":"C","armes":[{"force":1,"nom":"Griffe"},{"force":3,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"],["Vampirisme (1 tour de cooldown)","Une attaque au corps à corps qui soigne à l'attaquant 50% des dégats infligés à l'ennemi."]],"faiblesse":"air","level":2,"competence":[{"value":15,"name":"Fouille"},{"value":15,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"aerien","mode":"creature"},{"vita":{"pv":66,"pe":36,"eclat":10},"pression":5,"name":"Rat géant pestiféré","stats":{"dis":120,"sag":30,"per":95,"vol":30,"int":75,"cha":60,"for":40,"rel":40,"hab":215,"con":40},"parent":"Animaux","rang":"B","armes":[{"force":2,"nom":"Griffe"},{"force":4,"nom":"Croc"},{"force":2,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Pestilence","Ses attaques physique font l'effet poison"]],"faiblesse":"metal","level":3,"competence":[{"value":15,"name":"Fouille"},{"value":15,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"vita":{"pv":66,"pe":36,"eclat":10},"pression":5,"name":"Nuée de rats pestiféré","stats":{"dis":90,"sag":30,"per":95,"vol":30,"int":45,"cha":60,"for":40,"rel":40,"hab":155,"con":40},"parent":"Animaux","rang":"B","armes":[{"force":2,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."],["Pestilence","Ses attaques physique font l'effet poison"]],"faiblesse":"metal","level":3,"competence":[{"value":15,"name":"Fouille"},{"value":15,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"bête","mode":"creature"},{"parent":"Animaux","vita":{"pv":66,"pe":36,"eclat":10},"pression":5,"name":"Nuée de chauve souris vampire","stats":{"dis":90,"sag":30,"per":95,"vol":30,"int":45,"cha":60,"for":40,"rel":40,"hab":155,"con":40},"resistence":"terre","rang":"B","armes":[{"force":2,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Attaque accrochée","S'accroche et fait 1 dégats"],["Vol","Peut voler, +30% pour esquiver les attaques terrestres"],["Nuée","PV × 1D8, correspond au nombre de créature. Au max 3 attaque par tour tant qu'il y a assez de créature. Les attaque non de zone font max le nombre de PV de base de la créature. Les soins ne peuvent ramener des membres de la nuée. La nuée perd 10% en hab pour esquiver tant qu'il y a des membres."],["Vampirisme (1 tour de cooldown)","Une attaque au corps à corps qui soigne à l'attaquant 50% des dégats infligés à l'ennemi."]],"faiblesse":"air","level":3,"competence":[{"value":15,"name":"Fouille"},{"value":15,"name":"Cachette"}],"armure":{"phy":0,"psy":0,"spe":0},"type":"aerien","mode":"creature"},{"vita":{"pv":36,"pe":18,"eclat":10},"pression":5,"name":"Renard","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":30,"cha":60,"for":70,"rel":45,"hab":80,"con":65},"parent":"Animaux","rang":"D","armes":[{"force":3,"nom":"Griffe"},{"force":4,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"]],"faiblesse":"metal","level":1,"competence":[{"value":10,"name":"Pistage"},{"value":10,"name":"Chasse"}],"armure":{"phy":2,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":57,"pe":27,"eclat":10},"pression":5,"name":"Vache","stats":{"dis":60,"sag":30,"per":55,"vol":30,"int":15,"cha":60,"for":90,"rel":50,"hab":55,"con":100},"parent":"Animaux","rang":"C","armes":[{"force":4,"nom":"Corne"}],"categorie":"biologique","skill":[["Charge (1 tours de cooldown)","Peut charger et envoyer deux dés d'attaque au lieu d'un"],["Monture","Peut servir de monture, jouera au même tour"]],"faiblesse":"metal","level":2,"competence":[{"value":15,"name":"Charge"}],"armure":{"phy":7,"psy":0,"spe":3},"type":"bête","mode":"creature"},{"parent":"Démons et enfer","vita":{"pv":51,"pe":27,"eclat":10},"pression":5,"name":"Chihuahua infernal","stats":{"dis":60,"sag":30,"per":85,"vol":30,"int":15,"cha":60,"for":80,"rel":40,"hab":95,"con":60},"resistence":"chaos","rang":"C","armes":[{"force":4,"nom":"Griffe"},{"force":6,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"faiblesse":"ordre","level":2,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":2,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"vita":{"pv":54,"pe":27,"eclat":10},"pression":5,"name":"Chien des enfers","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":95,"rel":40,"hab":80,"con":75},"parent":"Démons et enfer","rang":"C","armes":[{"force":4,"nom":"Griffe"},{"force":6,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"]],"faiblesse":"metal","level":2,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":3,"psy":0,"spe":1},"type":"bête","mode":"creature"},{"parent":"Démons et enfer","vita":{"pv":72,"pe":36,"eclat":10},"pression":5,"name":"Loup des enfers","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":110,"rel":40,"hab":85,"con":80},"resistence":"chaos","rang":"B","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"faiblesse":"ordre","level":3,"competence":[{"value":15,"name":"Pistage"},{"value":15,"name":"Chasse"}],"armure":{"phy":4,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"parent":"Démons et enfer","vita":{"pv":90,"pe":45,"eclat":10},"pression":5,"name":"Chef-Loup des enfers","stats":{"dis":60,"sag":30,"per":70,"vol":30,"int":15,"cha":60,"for":125,"rel":40,"hab":90,"con":85},"resistence":"chaos","rang":"A","armes":[{"force":6,"nom":"Griffe"},{"force":8,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"faiblesse":"ordre","level":4,"competence":[{"value":20,"name":"Pistage"},{"value":20,"name":"Chasse"}],"armure":{"phy":4,"psy":0,"spe":2},"type":"bête","mode":"creature"},{"parent":"Démons et enfer","vita":{"pv":111,"pe":54,"eclat":10},"pression":5,"name":"Loup du pandémonium","stats":{"dis":60,"sag":30,"per":55,"vol":30,"int":15,"cha":60,"for":155,"rel":40,"hab":80,"con":105},"resistence":"chaos","rang":"S","armes":[{"force":9,"nom":"Griffe"},{"force":12,"nom":"Croc"}],"categorie":"biologique","skill":[["Morsure","Une attaque qui utilise les crocs et fait 1 blessure"],["Griffure","Fait deux attaques à -30% de chance de toucher"],["Bêtes de meute","+5% pour toucher des zones difficiles par créature de meute présente"],["Force chaotique","Regagne 1D6 PV - 3 par tour en terrain chaotique"],["Attaque démoniaque","Attaque avec effet de chaos (L'attaque fait moitié dégats sur le corps et l'esprit.)"],["Blessure infernale","besoin de deux soin pour soigner une blessure, les blessures restante après le combat provoque un malus physique sur le long terme"]],"faiblesse":"ordre","level":5,"competence":[{"value":25,"name":"Pistage"},{"value":25,"name":"Chasse"}],"armure":{"phy":7,"psy":0,"spe":3},"type":"bête","mode":"creature"}] \ No newline at end of file diff --git a/bestiaire/classes/dataholders/vitaholder.lua b/bestiaire/classes/dataholders/vitaholder.lua new file mode 100644 index 0000000..1fb18c4 --- /dev/null +++ b/bestiaire/classes/dataholders/vitaholder.lua @@ -0,0 +1,20 @@ +local VitaHolder = Object:extend() + +function VitaHolder:new(key, datas) + self.key = key + self.datas = datas + self.commands = {} +end + +function VitaHolder:applyCommand(command, args) + self.commands[command] = args +end + +function VitaHolder:reduce(level, mode) + local stat = (self.commands.base + (self.commands.add or 0)) + stat = stat * (level+1) + stat = stat + (self.commands.bonus or 0) + return math.floor(stat) +end + +return VitaHolder \ No newline at end of file diff --git a/bestiaire/classes/datalist.lua b/bestiaire/classes/datalist.lua index d9cf4cd..8d5f23f 100644 --- a/bestiaire/classes/datalist.lua +++ b/bestiaire/classes/datalist.lua @@ -7,6 +7,7 @@ local StatHolder = require "classes.dataholders.statholder" local CompetenceHolder = require "classes.dataholders.competenceholder" local ArmesHolder = require "classes.dataholders.armesholder" local ArmureHolder = require "classes.dataholders.armureholder" +local VitaHolder = require "classes.dataholders.vitaholder" local BoostHolder = require "classes.dataholders.boostholder" @@ -66,6 +67,8 @@ function DataList.getHolder(key, value) return ArmureHolder(key, value) elseif (value.dataType == "armes") then return ArmesHolder(key, value) + elseif (value.dataType == "vita") then + return VitaHolder(key, value) end return SimpleHolder(key, value) end diff --git a/bestiaire/levels/beasts.lua b/bestiaire/levels/beasts.lua index 52fe34e..f5e3972 100644 --- a/bestiaire/levels/beasts.lua +++ b/bestiaire/levels/beasts.lua @@ -1,4 +1,15 @@ local datas = {} datas.hp = {1, 1, 2, 3, 4, 5, 6} -datas.competences = {10, 30, 30, 50, 50, 70} \ No newline at end of file +datas.competences = {10, 30, 30, 50, 50, 70} +datas.stats = { + [0] = {base = 40, malus = {20, 30, 30}, bonus = {50, 50, 60}}, + [1] = {base = 50, malus = {20, 30, 40}, bonus = {60, 70, 80}}, + [2] = {base = 50, malus = {30, 30, 40}, bonus = {70, 80, 80}}, + [3] = {base = 50, malus = {30, 30, 40}, bonus = {80, 80, 100}}, -- Potentiel + [4] = {base = 50, malus = {30, 40, 40}, bonus = {80, 80, 120}}, + [5] = {base = 50, malus = {30, 40, 40}, bonus = {80, 100, 140}}, -- Potentiel+ + [6] = {base = 60, malus = {30, 40, 50}, bonus = {80, 120, 150}}, + [7] = {base = 60, malus = {30, 40, 50}, bonus = {80, 130, 180}}, -- Supérieur au max des joueurs + [8] = {base = 60, malus = {40, 40, 50}, bonus = {120, 150, 200}}, +} \ No newline at end of file diff --git a/bestiaire/levels/pnj.lua b/bestiaire/levels/pnj.lua index ce58c9b..f5e3972 100644 --- a/bestiaire/levels/pnj.lua +++ b/bestiaire/levels/pnj.lua @@ -7,9 +7,9 @@ datas.stats = { [1] = {base = 50, malus = {20, 30, 40}, bonus = {60, 70, 80}}, [2] = {base = 50, malus = {30, 30, 40}, bonus = {70, 80, 80}}, [3] = {base = 50, malus = {30, 30, 40}, bonus = {80, 80, 100}}, -- Potentiel - [4] = {base = 50, malus = {30, 30, 40}, bonus = {80, 80, 120}}, - [5] = {base = 50, malus = {30, 30, 40}, bonus = {80, 100, 140}}, -- Potentiel+ - [6] = {base = 50, malus = {30, 30, 40}, bonus = {80, 120, 150}}, - [7] = {base = 50, malus = {30, 30, 40}, bonus = {80, 80, 180}}, -- Supérieur au max des joueurs - [8] = {base = 50, malus = {30, 30, 40}, bonus = {80, 80, 200}}, + [4] = {base = 50, malus = {30, 40, 40}, bonus = {80, 80, 120}}, + [5] = {base = 50, malus = {30, 40, 40}, bonus = {80, 100, 140}}, -- Potentiel+ + [6] = {base = 60, malus = {30, 40, 50}, bonus = {80, 120, 150}}, + [7] = {base = 60, malus = {30, 40, 50}, bonus = {80, 130, 180}}, -- Supérieur au max des joueurs + [8] = {base = 60, malus = {40, 40, 50}, bonus = {120, 150, 200}}, } \ No newline at end of file diff --git a/bestiaire/libs/commands.lua b/bestiaire/libs/commands.lua index a736b33..e1df5ff 100644 --- a/bestiaire/libs/commands.lua +++ b/bestiaire/libs/commands.lua @@ -35,7 +35,7 @@ local function addListCommands(name, value) end for key, value in pairs(struct) do - if (value.dataType == "stat" or value.dataType == "armure") then + if (value.dataType == "stat" or value.dataType == "armure" or value.dataType == "vita") then addStatCommands(key, value) elseif (value.dataType == "list") then addListCommands(key, value) diff --git a/bestiaire/struct.lua b/bestiaire/struct.lua index aeafab2..381f4ab 100644 --- a/bestiaire/struct.lua +++ b/bestiaire/struct.lua @@ -19,8 +19,8 @@ return { dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.dis"}, rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.rel"}, per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.per"}, - pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv", lvl=1}, - pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe", lvl=1}, + pv= {dataType= "vita", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv", lvl=1}, + pe= {dataType= "vita", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe", lvl=1}, eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1, to="vita.eclat"}, armurephy= {dataType= "armure", modulo= 1, default= 0, max=9999999, min=0, to="armure.phy"}, armurepsy= {dataType= "armure", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},