fix: adapt le viewer

This commit is contained in:
Kazhnuz 2024-08-06 21:12:28 +02:00
parent 34e7f0d97a
commit 2c726beb79

View file

@ -6,15 +6,15 @@ local beast = BeastFile("data", arg[1] .. ".beast", tonumber(arg[2]))
local creature = beast:getRawData()
print(creature.name, "Lvl:" .. creature.level, "Pression:" .. creature.pression, creature.nomType, creature.categorie)
print(creature.name, "Lvl:" .. creature.level, "Pression:" .. creature.pression, creature["type"], creature.categorie)
print(" ", "------")
print("FOR:" .. creature.atk, "INT:" .. creature.int, "CHA:" .. creature.cha)
print("CON:" .. creature.con, "SAG:" .. creature.sag, "DIS:" .. creature.dis)
print("HAB:" .. creature.hab, "VOL:" .. creature.vol, "REL:" .. creature.rel)
print(" ", "PER:" .. creature.per)
print("FOR:" .. creature.stats["for"], "INT:" .. creature.stats.int, "CHA:" .. creature.stats.cha)
print("CON:" .. creature.stats.con, "SAG:" .. creature.stats.sag, "DIS:" .. creature.stats.dis)
print("HAB:" .. creature.stats.hab, "VOL:" .. creature.stats.vol, "REL:" .. creature.stats.rel)
print(" ", "PER:" .. creature.stats.per)
print(" ", "------")
print("PV:" .. creature.pv, "PE:" .. creature.pe, "Eclat : " .. creature.eclat)
print("Armure", "Phy:" .. creature.armurephy, "Psy:" .. creature.armurepsy, "Spe:" .. creature.armurespe)
print("PV:" .. creature.vita.pv, "PE:" .. creature.vita.pe, "Eclat : " .. creature.vita.eclat)
print("Armure", "Phy:" .. creature.armure.phy, "Psy:" .. creature.armure.psy, "Spe:" .. creature.armure.spe)
print(" ", "------")
print("Armes:")
for key, value in ipairs(creature.armes) do