statscompare

Privateunrated

Content

18 lines
{=(comment):Everything below this variable contains every character stat.}
{=(chars):Aerolius Demieres}
{=(comment):dmg acc php eva}
{=(Aerolius):53 33 30 30}
{=(Demieres):26 47 62 29}
{=(1st):{if({in({lower:{1}}):{lower:{chars}}}==true):{chars({index({lower:{1}}):{replace({lower:{1}},. {lower:{1}} .):{lower:{chars}}}})}|error}}
{=(2nd):{if({in({lower:{2}}):{lower:{chars}}}==true):{chars({index({lower:{2}}):{replace({lower:{2}},. {lower:{2}} .):{lower:{chars}}}})}|error}}

{=(comment):Error handling}
{=(brkchk):{any({1st}==error|{2nd}==error):1|{if({1st}=={2nd}):2}}}
{=(error):One or both of the characters you tried to mention is not a valid character.$You're trying to compare a character to itself. Mention another character!

If you want to check an individual character's stats, do the `statcheck` command.}
{{if({brkchk}!=):c:echo {channel(id)} {error({brkchk}):$}|silence}}

{=(comment):Calculations and stuff.}
{=(stat.prob):{m:{{1st}(2)}-{{2nd}(4)}}}
{=(dice.prob):{if({stat.prob}<=-45):7|{if({stat.prob}<=-30):8|{if({stat.prob}<=-20):9|{if({stat.prob}<=-10):10|{if({stat.prob}<=10):11|{if({stat.prob}<=20):12|{if({stat.prob}<=30):13|{if({stat.prob}<=45):14}}}}}}}}}

Embed

1 line
{"color": 5198940, "image": {"url": "{if({brkchk}!=):error}"}, "title": "Specialized Technical Battle Index v0.01", "fields": [{"name": "{1st}'s stats:", "value": "Damage: {{1st}(1)}\nAccuracy: {{1st}(2)}\nHealth: {{1st}(3)}\nEvasion: {{1st}(4)}", "inline": true}, {"name": "════════════════", "value": "```diff\n-  ╔══ ══════════ ══╗  -\n-  ║══ ══════════ ══║  -\n-  ╚══ ══════════ ══╝  -\n```", "inline": true}, {"name": "{2nd}'s stats:", "value": "Damage: {{2nd}(1)}\nAccuracy: {{2nd}(2)}\nHealth: {{2nd}(3)}\nEvasion: {{2nd}(4)}", "inline": true}, {"name": "Advanced Stat Comparison:", "value": "{1st}'s roll probability against {2nd}:\n{1st}'s ACC - {2nd}'s EVA\n{{1st}(2)}-{{2nd}(4)} = {stat.prob}\n\nThis gives {1st} about a {dice.prob}/20 chance of getting a hit.", "inline": false}], "footer": {"text": "Follows the Revised GFL Combat System v0.0.1 - Temporary Layout, original code made by RedAngel#0121"}}
Raw JSON
{
  "id": 88542,
  "created_at": "2019-11-13T10:26:30.000Z",
  "tag_name": "statscompare",
  "nsfw": false,
  "owner_id": "129419437911572480",
  "uses": 4,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "632187193162465281",
  "sharer": "129419437911572480",
  "content": "{=(comment):Everything below this variable contains every character stat.}\n{=(chars):Aerolius Demieres}\n{=(comment):dmg acc php eva}\n{=(Aerolius):53 33 30 30}\n{=(Demieres):26 47 62 29}\n{=(1st):{if({in({lower:{1}}):{lower:{chars}}}==true):{chars({index({lower:{1}}):{replace({lower:{1}},. {lower:{1}} .):{lower:{chars}}}})}|error}}\n{=(2nd):{if({in({lower:{2}}):{lower:{chars}}}==true):{chars({index({lower:{2}}):{replace({lower:{2}},. {lower:{2}} .):{lower:{chars}}}})}|error}}\n\n{=(comment):Error handling}\n{=(brkchk):{any({1st}==error|{2nd}==error):1|{if({1st}=={2nd}):2}}}\n{=(error):One or both of the characters you tried to mention is not a valid character.$You're trying to compare a character to itself. Mention another character!\n\nIf you want to check an individual character's stats, do the `statcheck` command.}\n{{if({brkchk}!=):c:echo {channel(id)} {error({brkchk}):$}|silence}}\n\n{=(comment):Calculations and stuff.}\n{=(stat.prob):{m:{{1st}(2)}-{{2nd}(4)}}}\n{=(dice.prob):{if({stat.prob}<=-45):7|{if({stat.prob}<=-30):8|{if({stat.prob}<=-20):9|{if({stat.prob}<=-10):10|{if({stat.prob}<=10):11|{if({stat.prob}<=20):12|{if({stat.prob}<=30):13|{if({stat.prob}<=45):14}}}}}}}}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{if({brkchk}!=):error}\"}, \"title\": \"Specialized Technical Battle Index v0.01\", \"fields\": [{\"name\": \"{1st}'s stats:\", \"value\": \"Damage: {{1st}(1)}\\nAccuracy: {{1st}(2)}\\nHealth: {{1st}(3)}\\nEvasion: {{1st}(4)}\", \"inline\": true}, {\"name\": \"════════════════\", \"value\": \"```diff\\n-  ╔══ ══════════ ══╗  -\\n-  ║══ ══════════ ══║  -\\n-  ╚══ ══════════ ══╝  -\\n```\", \"inline\": true}, {\"name\": \"{2nd}'s stats:\", \"value\": \"Damage: {{2nd}(1)}\\nAccuracy: {{2nd}(2)}\\nHealth: {{2nd}(3)}\\nEvasion: {{2nd}(4)}\", \"inline\": true}, {\"name\": \"Advanced Stat Comparison:\", \"value\": \"{1st}'s roll probability against {2nd}:\\n{1st}'s ACC - {2nd}'s EVA\\n{{1st}(2)}-{{2nd}(4)} = {stat.prob}\\n\\nThis gives {1st} about a {dice.prob}/20 chance of getting a hit.\", \"inline\": false}], \"footer\": {\"text\": \"Follows the Revised GFL Combat System v0.0.1 - Temporary Layout, original code made by RedAngel#0121\"}}",
  "last_fetched": "2026-10-20T20:42:37.619Z"
}