diff --git a/bot.py b/bot.py index caf5038c9c39f15ac62501dcf37f02b5a911886f..b9acc8b3e4cbc87c894c1440aea5c6e8017fea2d 100644 --- a/bot.py +++ b/bot.py @@ -434,7 +434,7 @@ async def r(ctx, what, characterName = None): char = getCharacterByName(characterName) for comp in char.competences: if what==comp.name: - if char.system=="Milipi": + if char.system=="LN": roll = [] for i in range(comp.level): roll.append(random.choice(range(1, 10 + 1))) @@ -456,7 +456,7 @@ async def r(ctx, what, characterName = None): res = randompart - custom await ctx.send('The result for the {0} check is : {1} ({2} - {3})'.format(what, res,randompart,custom)) return - elif char.system=="Milipi": + elif char.system=="LN": roll = [] for i in range(attr.level): roll.append(random.choice(range(1, 10 + 1))) @@ -488,4 +488,5 @@ loadAll() # setattr(comp, "level", int(comp.level)) # setattr(char, "notes", "") # setattr(char, "xp", 0) +#saveAll() bot.run(TOKEN) \ No newline at end of file diff --git a/characters.pkl b/characters.pkl index 69903d19c9b8f8180a791a1b018bbcae33cc0491..d1e9cf6cd41e3fc411925fcac46dbb4a88ef6727 100644 Binary files a/characters.pkl and b/characters.pkl differ diff --git a/ln.txt b/ln.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d76b1db6a8220333bafca738249695a6601895b --- /dev/null +++ b/ln.txt @@ -0,0 +1,46 @@ +If value comp 0 then roll naturel + +:addsys LN Physique Mental Aura +:addchar LN Mew +:attr Physique 4 Mew +:attr Mental 3 Mew +:attr Aura 3 Mew +:comp Pulvériser Physique 3 Mew +:comp Dextérité Physique 4 Mew +:comp Perception Physique 1 Mew +:comp Survie Physique 2 Mew +:comp Puissance Mental 3 Mew +:comp Maitrise Mental 3 Mew +:comp Tactique Mental 1 Mew +:comp Connaissance Mental 0 Mew +:comp Concentration Aura 2 Mew +:comp Artefacts Aura 0 Mew +:comp Instinct Aura 1 Mew +:comp Charisme Aura 0 Mew +:comp "Martial Intent" Aura 1 Mew +:comp Médecine Aura 1 Mew +:comp "Sword dance" Aura 3 Mew +:comp Destinée Aura 2 Mew +:comp Chance Aura 7 Mew + +:addchar LN Feng +:attr Physique 3 Feng +:attr Mental 3 Feng +:attr Aura 3 Feng +:comp Pulvériser Physique 0 Feng +:comp Dextérité Physique 0 Feng +:comp Perception Physique 2 Feng +:comp Survie Physique 2 Feng +:comp Puissance Mental 3 Feng +:comp Maitrise Mental 3 Feng +:comp Tactique Mental 0 Feng +:comp Connaissance Mental 2 Feng +:comp Concentration Aura 2 Feng +:comp Artefacts Aura 2 Feng +:comp Instinct Aura 1 Feng +:comp Charisme Aura 2 Feng +:comp Sculpture Aura 3 Feng +:comp Formation Aura 2 Feng +:comp "Ethereal Martial Intent" Aura 2 Feng +:comp Destinée Aura 3 Feng +:comp Chance Aura 7 Feng \ No newline at end of file diff --git a/systems.pkl b/systems.pkl index 4dd8a25db923bb0584247afa45afa98881f3be2e..88ff61a3b510f91c770e3808034677a220794009 100644 Binary files a/systems.pkl and b/systems.pkl differ