Skip to content

Commit

Permalink
update The One Ring Quickstart (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
twonirwana authored Mar 9, 2024
1 parent e42fee9 commit 0317f88
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bot/src/main/resources/botMessages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ rpg.system.command.preset.HEROES_OF_CERULEA.expression=val('$roll',2d4) replace(
rpg.system.command.preset.MARVEL.expression=val('$rRoll',2d6 col 'blue') val('$mRoll',1d6 col 'red') val('$modi',{Modificator:-3<=>9}) if(('$rRoll' + '$mRoll'=) =? 3,val('$res','$mRoll' + '$rRoll'), val('$res',replace('$mRoll',1,6) + '$rRoll')) val('$total', '$res' + '$modi'=) val('$resTotal','$res' _ ' = ' _ '$total') if('$mRoll'=?1, if(('$rRoll'=) =? 12,'$resTotal' _ ' Ultra Fantastic!', ('$rRoll'=) =? 2, '$resTotal' _ ' Botch!', '$resTotal' _' Fantastic!'), '$resTotal')
rpg.system.command.preset.DND5_CALC2.expression=+1d4;+1d6;+1d8;+1d10;+1d12;+1d100@%;+1d20@d20;+((2d20k1) col 'blue_and_gold')@ADV;+((2d20L1) col 'red_and_gold')@DIS;+((3d20k1) col 'blue_and_gold')@ACC; +1; +2; +3; +4; +5;-1;-2;-3;-4;-5;+10;-10
rpg.system.command.preset.PBTA.expression=val('$roll',2d6=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move;; val('$roll',2d6+1=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move +1; val('$roll',2d6+2=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move +2; val('$roll',2d6+3=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move +3; val('$roll',2d6+4=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move +4; val('$roll',2d6+5=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move +5;; val('$roll',2d6-1=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move -1; val('$roll',2d6-2=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move -2; val('$roll',2d6-3=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move -3; val('$roll',2d6-4=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move -4; val('$roll',2d6-5=) if('$roll'>=?10, 'Total Success', '$roll'<=?6, 'Miss', 'Partial Success')@Move -5;;d4;d6;d8;d10;d12;d20
rpg.system.command.preset.THE_ONE_RING.expression=val('$TN', {Target Number: 12/13/14/15/16/17/18/19/20/21/22}) val('$fate', {Fate die: 0@⬟ Fate/1@⬟⬟ Favored/-1@⬠⬠ Ill-Favored}) val('$f', if('$fate'=?-1, (2r(replace(1d12,11,0,12,100)))L1, '$fate'=?1, (2r(replace(1d12,11,0,12,100)))K1, replace(1d12,11,0,12,100))) val('$skill', {Skill: 0@◇/1@◆/2@◆◆/3@◆◆◆/4@◆◆◆◆/5@◆◆◆◆◆/6@◆◆◆◆◆◆/7@7◆/8@8◆/9@9◆/10@10◆} ) val('$sk', '$skill'd6) val('$t', ('$sk'>5)c) val('$total', '$f' + '$sk'=) concat ('$total', if('$total'>=?'$TN', ' +++ SUCCESS ! +++', ' --- FAILURE ! ---'), if('$t'>?0, ' ✦successes: '_'$t', ''))
rpg.system.command.preset.THE_ONE_RING.expression=val('$w', 0) val('$f', {Test Type (Fate Die): replace(1d12,11, 0,12,100)@⬟ Normal /(2r(replace(1d12,11, 0,12,100)))K1@⬟⬟ Favored /(2r(replace(1d12,11, 0,12,100)))L1@⬠⬠ Ill-Favored /200@✶Magical /val('$w', 1) replace(1d12,11, 0,12,100)@▢ Weary /replace(1d12,11, -666,12,100)@👁 Miserable / val('$w', 1) (2r(replace(1d12,11, 0,12,100)))K1@⬟⬟ ▢ / val('$w', 1) (2r(replace(1d12,11, 0,12,100)))L1@⬠⬠ ▢ /(2r(replace(1d12,11, -666,12,100)))K1@⬟⬟ 👁 /(2r(replace(1d12,11, -666,12,100)))L1@⬠⬠ 👁 /val('$w', 1) replace(1d12,11, -666,12,100)@⬟ ▢👁 /val('$w', 1) (2r(replace(1d12,11, -666,12,100)))K1@⬟⬟ ▢👁 /val('$w', 1) (2r(replace(1d12,11, -666,12,100)))L1@⬠⬠ ▢👁} ) val('$s', {Success Dice: 0d6@◇/1d6@◆/2d6@◆◆/3d6@◆◆◆/4d6@◆◆◆◆/5d6@◆◆◆◆◆/6d6@◆◆◆◆◆◆/7d6@7◆/8d6@8◆/9d6@9◆/10d6@10◆} ) val('$SR', {Target Number: 0@None/12/13/14/15/16/17/18/19/20/21/22/23/24} ) if('$w'=?1, val('$s', '$s'>=4)) val('$t', ('$s'>5)c) val('$total', '$f' + '$s'=) concat (if('$f'=?100||'$f'=?-666, '', '$f'=?200, '\\n = '_'$s'=_' =', '\\n = '_'$total'_' ='), if('$f'=?200||'$SR'=?0, '', if('$total'>=?'$SR', '\\n+++ SUCCESS ! +++', '\\n--- FAILURE ! ---')), if('$f'=?200, '', concat('\\n⬟= ', if('$f'=?0||'$f'=?-666, '👁', '$f'=?100, 'ᚠ', '$f'))), if('$total'>=?'$SR'&&'$t'>?0, '\\n✶successes= '_'$t', ''))
rpg.system.command.preset.EZD6.expression=1d6@roll; 2d6k1@boon; 2d6l1@bane; 1d!!6@combat; 2d!!6@combat boon; 1d4@D4; 1d6@D6; 1d8@D8; 1d10@D10;1d12@D12;1d20@D20; 1d100@D100; 2d6@2D6; 3d6@3D6; 4d6@4D6; 5d6@5D6; 2d6==6@Not a chance; 3d6==6@Probably not; 4d6==6@Likely
#Rpg presets names
rpg.system.command.preset.FATE.name=Fate
Expand Down
2 changes: 1 addition & 1 deletion bot/src/main/resources/botMessages_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ rpg.system.command.preset.COIN.expression=1d[Face 😀/Pile 1️⃣]@Pile ou fac
#Todo rpg.system.command.preset.PROWLERS_PARAGONS.expression=val('$r',{number of dice:1<=>12}d6),val('$total',replace('$r', [1/3/5], 0, [2/4], 1, [6], 2)=), '$total'_' successes'
#Todo rpg.system.command.preset.BLUEBEARD_BRIDE.expression=val('$roll',(2d6)) val('$mod',{Modifier:-1<=>1}) val('$total',('$roll'+'$mod')=) if('$total'>=?10, 'Hit', '$total'<=?6, 'Miss', 'Mitigated Hit')
#Todo rpg.system.command.preset.EXPANSE.expression=2d6 col 'mars_dark' + 1d6 col 'mars_light'@MCRN;2d6 col 'earth_dark' + 1d6 col 'earth_light'@UN;2d6 col 'belt_dark' + 1d6 col 'belt_light'@OPA;
rpg.system.command.preset.THE_ONE_RING.expression=val('$SR', {Seuil de Reussite: 12/13/14/15/16/17/18/19/20/21/22}) val('$destin', {Destin: 0@⬟ Destin/1@⬟⬟ Favorisé/-1@⬠⬠ Défavorisé}) val('$des', if('$destin'=?-1, (2r(replace(1d12,11,0,12,100)))L1, '$destin'=?1, (2r(replace(1d12,11,0,12,100)))K1, replace(1d12,11,0,12,100))) val('$maitrise', {Maitrise: 0@◇/1@◆/2@◆◆/3@◆◆◆/4@◆◆◆◆/5@◆◆◆◆◆/6@◆◆◆◆◆◆/7@7◆/8@8◆/9@9◆/10@10◆} ) val('$res', '$maitrise'd6) val('$t', ('$res'>5)c) val('$total', '$des' + '$res'=) concat ('$total', if('$total'>=?'$SR', ' +++ SUCCES ! +++', ' --- ECHEC ! ---'), if('$t'>?0, ' ✦reussites: '_'$t', ''))
rpg.system.command.preset.THE_ONE_RING.expression=val('$f', 0) val('$d', {Type de test: replace(1d12,11, 0,12,100)@⬟ Normal /(2r(replace(1d12,11, 0,12,100)))K1@⬟⬟ Favorisé /(2r(replace(1d12,11, 0,12,100)))L1@⬠⬠ Défavorisé /200@✶Magique /val('$f', 1) replace(1d12,11, 0,12,100)@▢ Epuisé /replace(1d12,11, -666,12,100)@👁 Mélancolique / val('$f', 1) (2r(replace(1d12,11, 0,12,100)))K1@⬟⬟ ▢ / val('$f', 1) (2r(replace(1d12,11, 0,12,100)))L1@⬠⬠ ▢ /(2r(replace(1d12,11, -666,12,100)))K1@⬟⬟ 👁 /(2r(replace(1d12,11, -666,12,100)))L1@⬠⬠ 👁 /val('$f', 1) replace(1d12,11, -666,12,100)@⬟ ▢👁 /val('$f', 1) (2r(replace(1d12,11, -666,12,100)))K1@⬟⬟ ▢👁 /val('$f', 1) (2r(replace(1d12,11, -666,12,100)))L1@⬠⬠ ▢👁} ) val('$m', {Maitrise: 0d6@◇/1d6@◆/2d6@◆◆/3d6@◆◆◆/4d6@◆◆◆◆/5d6@◆◆◆◆◆/6d6@◆◆◆◆◆◆/7d6@7◆/8d6@8◆/9d6@9◆/10d6@10◆} ) val('$SR', {Seuil de Reussite: 0@Aucun/12/13/14/15/16/17/18/19/20/21/22/23/24} ) if('$f'=?1, val('$m', '$m'>=4)) val('$t', ('$m'>5)c) val('$total', '$d' + '$m'=) concat (if('$d'=?100||'$d'=?-666, '', '$d'=?200, '\\n = '_'$m'=_' =', '\\n = '_'$total'_' ='), if('$d'=?200||'$SR'=?0, '', if('$total'>=?'$SR', '\\n+++ SUCCES ! +++', '\\n--- ECHEC ! ---')), if('$d'=?200, '', concat('\\n⬟= ', if('$d'=?0||'$d'=?-666, '👁', '$d'=?100, 'ᚠ', '$d'))), if('$total'>=?'$SR'&&'$t'>?0, '\\n✶réussites= '_'$t', ''))
#Rpg presets names
#Todo rpg.system.command.preset.FATE.name=Fate
rpg.system.command.preset.FATE_IMAGE.name=Fate avec des images de dés
Expand Down
Loading

0 comments on commit 0317f88

Please sign in to comment.