dmgcompare

This is a damage compare tool for Genshin Impact The parameters are - <Atk1> <Crit Rate1%> <Crit DMG1%> <Atk2> <Crit Rate2%> <Crit DMG2%> Atk1, Crit rate1%, Crit DMG 1% represent respective values of 1st artifact set Atk2, Crit rate2%, Crit DMG2% represent respective values of 2nd artifact set. Made by Rathalos#2875

Privateunrated

Content

17 lines
{=(critr1):{m:{2}*0.01}}
{=(critd1):{m:{3}*0.01}}
{=(crit1):{m:{critr1}*{critd1}}}
{=(dmg1):{m:({1}*(1+{crit1}))}}
{=(rounded1):{m:round({dmg1}*10^3)/10^3}}

{=(critr2):{m:{5}*0.01}}
{=(critd2):{m:{6}*0.01}}
{=(crit2):{m:{critr2}*{critd2}}}
{=(dmg2):{m:({4}*(1+{crit2}))}}
{=(rounded2):{m:round({dmg2}*10^3)/10^3}}

{=(compare):{m:({dmg1}-{dmg2})/(({dmg1}+{dmg2})/2)}}
{=(compare2):{m:abs({compare}*100)}}
{=(compare3):{m:round({compare2}*10^3)/10^3}}

{target(mention)}

Embed

1 line
{"color": 11521535, "title": "Damage Comparison", "description": "\n{=(isArgs):{if(!={1}):true|false}}\n{=(msg.noArgs):This command allows you to compare two sets based only on three factors, namely Attack, Crit Rate and Crit Damage. This is serves as a simple way to compare sets, but is not the only way to evaluate which set is better since other variables (such as external bonuses or buffs) can exist. Ideally, you would want a damage value above 4000 for main dps units, and well-invested units tend to reach 5000+ damage values.\n\nPlease input the values for **total attack**, **crit rate** and **crit damage** of the first set and the **total attack**, **crit rate** and **crit damage** of the second set in that order to calculate the damage. \n\nExample: ``!dmgcompare {range:1432-2304} {range:19.2-100} {range:96-232.4} {range:1332-2304} {range:19.2-100} {range:96-232.4}``}\n{=(msg.success):First Set= **{rounded1}** {if({rounded1}>{rounded2}): :sparkles: (+{compare3}%)| }\nSecond Set = **{rounded2}** {if({rounded1}<{rounded2}): :sparkles: (+{compare3}%)| }}\n{=(msg):msg.noArgs msg.success}\n{=(output):{{msg({index(false):0 {isArgs} false})}}}\n\n{output}\n\n"}
Raw JSON
{
  "id": 926757,
  "created_at": "2021-07-03T08:01:27.000Z",
  "tag_name": "dmgcompare",
  "nsfw": false,
  "owner_id": "756065178948468779",
  "uses": 343,
  "description": "This is a damage compare tool for Genshin Impact\nThe parameters are -\n\n<Atk1> <Crit Rate1%> <Crit DMG1%> <Atk2> <Crit Rate2%> <Crit DMG2%>\n\nAtk1, Crit rate1%, Crit DMG 1% represent respective values of 1st artifact set\n\nAtk2, Crit rate2%, Crit DMG2% represent respective values of 2nd artifact set.\n\nMade by Rathalos#2875",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "803424731474034709",
  "sharer": "867811595266424852",
  "content": "{=(critr1):{m:{2}*0.01}}\n{=(critd1):{m:{3}*0.01}}\n{=(crit1):{m:{critr1}*{critd1}}}\n{=(dmg1):{m:({1}*(1+{crit1}))}}\n{=(rounded1):{m:round({dmg1}*10^3)/10^3}}\n\n{=(critr2):{m:{5}*0.01}}\n{=(critd2):{m:{6}*0.01}}\n{=(crit2):{m:{critr2}*{critd2}}}\n{=(dmg2):{m:({4}*(1+{crit2}))}}\n{=(rounded2):{m:round({dmg2}*10^3)/10^3}}\n\n{=(compare):{m:({dmg1}-{dmg2})/(({dmg1}+{dmg2})/2)}}\n{=(compare2):{m:abs({compare}*100)}}\n{=(compare3):{m:round({compare2}*10^3)/10^3}}\n\n{target(mention)}",
  "embed": "{\"color\": 11521535, \"title\": \"Damage Comparison\", \"description\": \"\\n{=(isArgs):{if(!={1}):true|false}}\\n{=(msg.noArgs):This command allows you to compare two sets based only on three factors, namely Attack, Crit Rate and Crit Damage. This is serves as a simple way to compare sets, but is not the only way to evaluate which set is better since other variables (such as external bonuses or buffs) can exist. Ideally, you would want a damage value above 4000 for main dps units, and well-invested units tend to reach 5000+ damage values.\\n\\nPlease input the values for **total attack**, **crit rate** and **crit damage** of the first set and the **total attack**, **crit rate** and **crit damage** of the second set in that order to calculate the damage. \\n\\nExample: ``!dmgcompare {range:1432-2304} {range:19.2-100} {range:96-232.4} {range:1332-2304} {range:19.2-100} {range:96-232.4}``}\\n{=(msg.success):First Set= **{rounded1}** {if({rounded1}>{rounded2}): :sparkles: (+{compare3}%)| }\\nSecond Set = **{rounded2}** {if({rounded1}<{rounded2}): :sparkles: (+{compare3}%)| }}\\n{=(msg):msg.noArgs msg.success}\\n{=(output):{{msg({index(false):0 {isArgs} false})}}}\\n\\n{output}\\n\\n\"}",
  "last_fetched": "2026-10-21T02:02:05.252Z"
}