statscompare

Privateunrated

Content

23 lines
{=(comment):Everything below this variable contains every character stat.}
{=(chars):M200 Grizzly Vector STAR-15 SPAS-12}
{=(comment):dmg acc php eva cr% crd amr apc}
{=(M200):73 46 44 22 6 27 0 15}
{=(Grizzly):23 34 45 38 3 17 0 15}
{=(Vector):31 22 121 46 4 19 0 15}
{=(STAR-15):61 36 76 34 5 29 0 15}
{=(SPAS-12):58 19 82 21 2 12 25 15}
{=(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}}}}}}}}}
{=(stat.amrn):{m:{{2nd}(7)}-{{1st}(8)}}}
{=(stat.dmgn):{m:{{1st}(1)}-{stat.amrn}}}

Embed

1 line
{"color": 7510218, "image": {"url": "{if({brkchk}!=):error}"}, "title": "Specialized Technical Battle Index v0.12", "fields": [{"name": "{1st}'s stats:", "value": "Damage: {{1st}(1)}\nAccuracy: {{1st}(2)}\nHealth: {{1st}(3)}\nEvasion: {{1st}(4)}\nCrit %: {{1st}(5)}\nCrit Damage: {{1st}(6)}\nArmor: {{1st}(7)}\nArmor Piercing: {{1st}(8)}", "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)}\nCrit %: {{2nd}(5)}\nCrit Damage: {{2nd}(6)}\nArmor: {{2nd}(7)}\nArmor Piercing: {{2nd}(8)}", "inline": true}, {"name": "Advanced Combat Comparison:", "value": "**{1st}'s roll probability against {2nd}:**\n{1st}'s ACC - {2nd}'s EVA\n*{{1st}(2)}-{{2nd}(4)} = {stat.prob}*\n`This gives {1st} about a {dice.prob}/20 chance of getting a hit.`\n\n**{1st}'s damage after {2nd}'s armor negation:**\n{2nd}'s Armor - {1st}'s APC = Negated Damage\n*{{2nd}(7)}-{{1st}(8)} = {stat.amrn}*\n{1st}'s Damage - Negated Damage = Final Damage Output\n*{{1st}(1)}-{stat.amrn} = {stat.dmgn}*\n`This gives {1st} a total damage of {stat.dmgn}.`", "inline": false}, {"name": "Crit Calculations:", "value": "{1st}'s Critical Chance = **{{1st}(5)}**\n{1st}'s Critical Damage = **+{{1st}(6)}**\n*{{1st}(1)}+{{1st}(6)} = {m:{{1st}(1)}+{{1st}(6)}}*\n`This gives {1st} about {{1st}(5)}/20 chance of rolling a crit, adding about {{1st}(6)} to their {{1st}(1)} damage, giving you a total of {m:{{1st}(1)}+{{1st}(6)}}`", "inline": false}], "footer": {"text": "Follows the Revised GFL Combat System v0.0.1 - Made by Solitaire#6397 with the help of the carl-bot helpers. Thank you so much!"}}
Raw JSON
{
  "id": 88602,
  "created_at": "2019-11-13T12:17:50.000Z",
  "tag_name": "statscompare",
  "nsfw": false,
  "owner_id": "257035354274529290",
  "uses": 21,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "511661491653574658",
  "sharer": "257035354274529290",
  "content": "{=(comment):Everything below this variable contains every character stat.}\n{=(chars):M200 Grizzly Vector STAR-15 SPAS-12}\n{=(comment):dmg acc php eva cr% crd amr apc}\n{=(M200):73 46 44 22 6 27 0 15}\n{=(Grizzly):23 34 45 38 3 17 0 15}\n{=(Vector):31 22 121 46 4 19 0 15}\n{=(STAR-15):61 36 76 34 5 29 0 15}\n{=(SPAS-12):58 19 82 21 2 12 25 15}\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}}}}}}}}}\n{=(stat.amrn):{m:{{2nd}(7)}-{{1st}(8)}}}\n{=(stat.dmgn):{m:{{1st}(1)}-{stat.amrn}}}",
  "embed": "{\"color\": 7510218, \"image\": {\"url\": \"{if({brkchk}!=):error}\"}, \"title\": \"Specialized Technical Battle Index v0.12\", \"fields\": [{\"name\": \"{1st}'s stats:\", \"value\": \"Damage: {{1st}(1)}\\nAccuracy: {{1st}(2)}\\nHealth: {{1st}(3)}\\nEvasion: {{1st}(4)}\\nCrit %: {{1st}(5)}\\nCrit Damage: {{1st}(6)}\\nArmor: {{1st}(7)}\\nArmor Piercing: {{1st}(8)}\", \"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)}\\nCrit %: {{2nd}(5)}\\nCrit Damage: {{2nd}(6)}\\nArmor: {{2nd}(7)}\\nArmor Piercing: {{2nd}(8)}\", \"inline\": true}, {\"name\": \"Advanced Combat Comparison:\", \"value\": \"**{1st}'s roll probability against {2nd}:**\\n{1st}'s ACC - {2nd}'s EVA\\n*{{1st}(2)}-{{2nd}(4)} = {stat.prob}*\\n`This gives {1st} about a {dice.prob}/20 chance of getting a hit.`\\n\\n**{1st}'s damage after {2nd}'s armor negation:**\\n{2nd}'s Armor - {1st}'s APC = Negated Damage\\n*{{2nd}(7)}-{{1st}(8)} = {stat.amrn}*\\n{1st}'s Damage - Negated Damage = Final Damage Output\\n*{{1st}(1)}-{stat.amrn} = {stat.dmgn}*\\n`This gives {1st} a total damage of {stat.dmgn}.`\", \"inline\": false}, {\"name\": \"Crit Calculations:\", \"value\": \"{1st}'s Critical Chance = **{{1st}(5)}**\\n{1st}'s Critical Damage = **+{{1st}(6)}**\\n*{{1st}(1)}+{{1st}(6)} = {m:{{1st}(1)}+{{1st}(6)}}*\\n`This gives {1st} about {{1st}(5)}/20 chance of rolling a crit, adding about {{1st}(6)} to their {{1st}(1)} damage, giving you a total of {m:{{1st}(1)}+{{1st}(6)}}`\", \"inline\": false}], \"footer\": {\"text\": \"Follows the Revised GFL Combat System v0.0.1 - Made by Solitaire#6397 with the help of the carl-bot helpers. Thank you so much!\"}}",
  "last_fetched": "2026-10-20T20:42:37.934Z"
}