battle2

Privateunrated

Content

91 lines
{require(This tag is in testing, only Admins can use this tag for now...):787648800167821322}
{=():}
{{if({user(id)}=={target(id)}):blacklist(Use the command properly. `?fight @user`):{server(id)}}}
{=(userhp):100}
{=(targethp):100}
{=(coinflip):{#:user~target}}
{=(userx): ** {replace(|,-):{user}} ** }
{=(targetx): ** {replace(|,-):{target}} ** }

{=(ra):range:26-50}
{=(rh):range:1-25}

{=(atk1):{{ra}}}
{=(atk2):{{ra}}}
{=(atk3):{{ra}}}
{=(atk4):{{ra}}}
{=(atk5):{{ra}}}
{=(atk6):{{ra}}} 
{=(atk7):{{ra}}}
{=(atk8):{{ra}}}
{=(atk9):{{ra}}}
{=(atk10):{{ra}}}

{=(heal1):{{rh}}}
{=(heal2):{{rh}}}
{=(heal3):{{rh}}}
{=(heal4):{{rh}}}
{=(heal5):{{rh}}}
{=(heal6):{{rh}}}
{=(heal7):{{rh}}}
{=(heal8):{{rh}}}
{=(heal9):{{rh}}}
{=(heal10):{{rh}}}

{=(r1hpa):{m:trunc({targethp}-{atk1})}}
{=(r1hpb):{m:trunc({userhp}-{atk2})}}
{=(r1hpc):{m:trunc({r1hpa}+{heal1})}}
{=(r1hpd):{m:trunc({r1hpb}+{heal2})}}

{=(r2hpa):{m:trunc({r1hpc}-{atk3})}}
{=(r2hpb):{m:trunc({r1hpd}-{atk4})}}
{=(r2hpc):{m:trunc({r2hpa}+{heal3})}}
{=(r2hpd):{m:trunc({r2hpb}+{heal4})}}

{=(r3hpa):{if({m:trunc({r2hpc}-{atk5})}<=0):0|{m:trunc({r2hpc}-{atk5})}}}
{=(r3hpb):{if({m:trunc({r2hpd}-{atk6})}<=0):0|{m:trunc({r2hpd}-{atk6})}}} 
{=(r3hpc):{m:trunc({r3hpa}+{heal5})}}
{=(r3hpd):{m:trunc({r3hpb}+{heal6})}}

{=(r4hpa):{if({m:trunc({r3hpc}-{atk7})}<=0):0|{m:trunc({r3hpc}-{atk7})}}}
{=(r4hpb):{if({m:trunc({r3hpd}-{atk8})}<=0):0|{m:trunc({r3hpd}-{atk8})}}}
{=(r4hpc):{m:trunc({r4hpa}+{heal7})}}
{=(r4hpd):{m:trunc({r4hpb}+{heal8})}}

{=(r5hpa):{if({m:trunc({r4hpc}-{atk9})}<=0):0|{m:trunc({r4hpc}-{atk9})}}}
{=(r5hpb):{if({m:trunc({r4hpd}-{atk10})}<=0):0|{m:trunc({r4hpd}-{atk10})}}}
{=(r5hpc):{m:trunc({r5hpa}+{heal9})}}
{=(r5hpd):{m:trunc({r5hpb}+{heal10})}}

{=(atkmsg):#:pulled off an incredible move doing~totally bamboozled the opponent which did~confused the opponent which did}

{=(round1a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk1} ** damage. {targetx} now has  ** {r1hpa} HP ** |{targetx} {{atkmsg}}  ** {atk1} ** damange. {userx} now has  ** {r1hpa} HP ** }}
{=(round1b):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk2} ** damage. {userx} now has  ** {r1hpb} HP ** |{userx} {{atkmsg}}  ** {atk2} ** damage. {targetx} now has  ** {r1hpb} HP ** }}
{=(round1c):{if({coinflip}==target):{userx} healed for  ** {heal1} ** They now have ** {r1hpc} HP ** |{targetx} healed for  ** {heal1} ** They now have ** {r1hpc} HP ** }}
{=(round1d):{if({coinflip}==target):{targetx} healed for  ** {heal2} ** They now have ** {r1hpd} HP ** |{userx} healed for  ** {heal2} ** They now have ** {r1hpd} HP ** }}

{=(round2a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk3} ** damage. {targetx} now has  ** {r2hpa} HP ** |{targetx} {{atkmsg}}  ** {atk3} ** damage. {userx} now has  ** {r2hpa} HP ** }}
{=(round2b):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk4} ** damage. {userx} now has  ** {r2hpb} HP ** |{userx} {{atkmsg}}  ** {atk4} ** damage. {targetx} now has  ** {r2hpb} HP ** }}
{=(round2c):{if({coinflip}==target):{userx} healed for  ** {heal3} ** They now have ** {r2hpc} HP ** |{targetx} healed for  ** {heal3} ** They now have ** {r2hpc} HP ** }}
{=(round2d):{if({coinflip}==target):{targetx} healed for  ** {heal4} ** They now have ** {r2hpd} HP ** |{userx} healed for  ** {heal4} ** They now have ** {r2hpd} HP ** }}

{=(round3a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk5} ** damage. {targetx} now has  ** {r3hpa}  HP ** |{targetx} {{atkmsg}}  ** {atk5} ** damage. {userx} now has  ** {r3hpa} HP ** }}
{=(round3b):{if({r3hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk6} ** damage. {userx} now has  ** {r3hpb} HP ** |{userx} {{atkmsg}}  ** {atk6} ** damage. {targetx} now has  ** {r3hpb} HP ** }}}
{=(round3c):{all({r3hpa}>0|{r3hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal5} ** They now have ** {r3hpc} HP ** |{targetx} healed for  ** {heal5} ** They now have ** {r3hpc} HP ** }}}
{=(round3d):{all({r3hpa}>0|{r3hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal6} ** They now have ** {r3hpd} HP ** |{userx} healed for  ** {heal6} ** They now have ** {r3hpd} HP ** }}}

{=(round4a):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk7} ** damage. {targetx} now has  ** {r4hpa} HP ** |{targetx} {{atkmsg}}  ** {atk7} ** damage. {userx} now has  ** {r4hpa} HP ** }}}
{=(round4b):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk8} ** damage. {userx} now has  ** {r4hpb} HP ** |{userx} {{atkmsg}}  ** {atk8} ** damage. {targetx} now has  ** {r4hpb} HP ** }}}
{=(round4c):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal7} ** They now have ** {r4hpc} HP ** |{targetx} healed for  ** {heal7}P ** they now have ** {r4hpc} HP ** }}}
{=(round4d):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal8} ** They now have ** {r4hpd} HP ** |{userx} healed for  ** {heal8} ** they now have ** {r4hpd} HP ** }}}

{=(round5a):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk9} ** damage. {targetx} now has  ** {r5hpa} HP ** |{targetx} {{atkmsg}}  ** {atk9} ** damage. {userx} now has  ** {r5hpa} HP ** }}}
{=(round5b):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk10} ** damage. {userx} now has  ** {r5hpb} HP ** |{userx} {{atkmsg}}  ** {atk10} ** damage. {targetx} now has  ** {r5hpb} HP ** }}}
{=(round5c):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0|{r5hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal9} ** They now have ** {r5hpc} HP ** |{targetx} healed for  ** {heal9} ** They now have ** {r5hpc} HP ** }}}
{=(round5d):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0|{r5hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal10} ** They now have ** {r5hpd} HP ** |{userx} healed for  ** {heal10} ** They now have ** {r5hpd} HP ** }}}

{=(winner):{if({coinflip}==user):{any({r3hpa}==0|{r4hpa}==0|{r5hpa}==0):{userx}|{targetx}}|{any({r3hpa}==0|{r4hpa}==0|{r5hpa}==0):{targetx}|{userx}}}}
{=(loser):{if({winner}=={userx}):{targetx}|{userx}}}
{=(winmsg):{#:made a fool out of {loser} and won with~made {loser} look dumb and won with~demolished {loser} with}}
{=(winhp):{if({r3hpa}==0): ** {r2hpd} HP ** |{if({r3hpb}==0): ** {r3hpa} HP ** |{if({r4hpa}==0): ** {r3hpd} HP ** |{if({r4hpb}==0): ** {r4hpa} HP ** |{if({r5hpa}==0): ** {r4hpd} HP ** |{if({r5hpb}==0): ** {r5hpa} HP ** }}}}}}}
{=(finalwinmsg):{winner} {winmsg} {winhp}}

Embed

1 line
{"color": 3014975, "title": "**{server(name)} is having a FIGHT**", "fields": [{"name": "⠀", "value": "{round1a}\n\n{round1b}\n\n{round1c}\n\n{round1d}\n\n{round2a}\n\n{round2b}\n\n{round2c}\n\n{round2d}\n\n{round3a}\n\n{round3b}\n\n{round3c}\n\n{round3d}\n\n{round4a}\n\n{round4b}\n\n{round4c}\n\n{round4d}\n\n{round5a}\n\n{round5b}\n\n{round5c}\n\n{round5d}", "inline": false}, {"name": "⠀", "value": "{finalwinmsg}", "inline": false}], "description": "{targetx} says, You really think you're better than me?"}
Raw JSON
{
  "id": 1028451,
  "created_at": "2021-08-26T03:14:56.000Z",
  "tag_name": "battle2",
  "nsfw": false,
  "owner_id": "681414142938316851",
  "uses": 12,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "764788674952167474",
  "sharer": "681414142938316851",
  "content": "{require(This tag is in testing, only Admins can use this tag for now...):787648800167821322}\n{=():}\n{{if({user(id)}=={target(id)}):blacklist(Use the command properly. `?fight @user`):{server(id)}}}\n{=(userhp):100}\n{=(targethp):100}\n{=(coinflip):{#:user~target}}\n{=(userx): ** {replace(|,-):{user}} ** }\n{=(targetx): ** {replace(|,-):{target}} ** }\n\n{=(ra):range:26-50}\n{=(rh):range:1-25}\n\n{=(atk1):{{ra}}}\n{=(atk2):{{ra}}}\n{=(atk3):{{ra}}}\n{=(atk4):{{ra}}}\n{=(atk5):{{ra}}}\n{=(atk6):{{ra}}} \n{=(atk7):{{ra}}}\n{=(atk8):{{ra}}}\n{=(atk9):{{ra}}}\n{=(atk10):{{ra}}}\n\n{=(heal1):{{rh}}}\n{=(heal2):{{rh}}}\n{=(heal3):{{rh}}}\n{=(heal4):{{rh}}}\n{=(heal5):{{rh}}}\n{=(heal6):{{rh}}}\n{=(heal7):{{rh}}}\n{=(heal8):{{rh}}}\n{=(heal9):{{rh}}}\n{=(heal10):{{rh}}}\n\n{=(r1hpa):{m:trunc({targethp}-{atk1})}}\n{=(r1hpb):{m:trunc({userhp}-{atk2})}}\n{=(r1hpc):{m:trunc({r1hpa}+{heal1})}}\n{=(r1hpd):{m:trunc({r1hpb}+{heal2})}}\n\n{=(r2hpa):{m:trunc({r1hpc}-{atk3})}}\n{=(r2hpb):{m:trunc({r1hpd}-{atk4})}}\n{=(r2hpc):{m:trunc({r2hpa}+{heal3})}}\n{=(r2hpd):{m:trunc({r2hpb}+{heal4})}}\n\n{=(r3hpa):{if({m:trunc({r2hpc}-{atk5})}<=0):0|{m:trunc({r2hpc}-{atk5})}}}\n{=(r3hpb):{if({m:trunc({r2hpd}-{atk6})}<=0):0|{m:trunc({r2hpd}-{atk6})}}} \n{=(r3hpc):{m:trunc({r3hpa}+{heal5})}}\n{=(r3hpd):{m:trunc({r3hpb}+{heal6})}}\n\n{=(r4hpa):{if({m:trunc({r3hpc}-{atk7})}<=0):0|{m:trunc({r3hpc}-{atk7})}}}\n{=(r4hpb):{if({m:trunc({r3hpd}-{atk8})}<=0):0|{m:trunc({r3hpd}-{atk8})}}}\n{=(r4hpc):{m:trunc({r4hpa}+{heal7})}}\n{=(r4hpd):{m:trunc({r4hpb}+{heal8})}}\n\n{=(r5hpa):{if({m:trunc({r4hpc}-{atk9})}<=0):0|{m:trunc({r4hpc}-{atk9})}}}\n{=(r5hpb):{if({m:trunc({r4hpd}-{atk10})}<=0):0|{m:trunc({r4hpd}-{atk10})}}}\n{=(r5hpc):{m:trunc({r5hpa}+{heal9})}}\n{=(r5hpd):{m:trunc({r5hpb}+{heal10})}}\n\n{=(atkmsg):#:pulled off an incredible move doing~totally bamboozled the opponent which did~confused the opponent which did}\n\n{=(round1a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk1} ** damage. {targetx} now has  ** {r1hpa} HP ** |{targetx} {{atkmsg}}  ** {atk1} ** damange. {userx} now has  ** {r1hpa} HP ** }}\n{=(round1b):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk2} ** damage. {userx} now has  ** {r1hpb} HP ** |{userx} {{atkmsg}}  ** {atk2} ** damage. {targetx} now has  ** {r1hpb} HP ** }}\n{=(round1c):{if({coinflip}==target):{userx} healed for  ** {heal1} ** They now have ** {r1hpc} HP ** |{targetx} healed for  ** {heal1} ** They now have ** {r1hpc} HP ** }}\n{=(round1d):{if({coinflip}==target):{targetx} healed for  ** {heal2} ** They now have ** {r1hpd} HP ** |{userx} healed for  ** {heal2} ** They now have ** {r1hpd} HP ** }}\n\n{=(round2a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk3} ** damage. {targetx} now has  ** {r2hpa} HP ** |{targetx} {{atkmsg}}  ** {atk3} ** damage. {userx} now has  ** {r2hpa} HP ** }}\n{=(round2b):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk4} ** damage. {userx} now has  ** {r2hpb} HP ** |{userx} {{atkmsg}}  ** {atk4} ** damage. {targetx} now has  ** {r2hpb} HP ** }}\n{=(round2c):{if({coinflip}==target):{userx} healed for  ** {heal3} ** They now have ** {r2hpc} HP ** |{targetx} healed for  ** {heal3} ** They now have ** {r2hpc} HP ** }}\n{=(round2d):{if({coinflip}==target):{targetx} healed for  ** {heal4} ** They now have ** {r2hpd} HP ** |{userx} healed for  ** {heal4} ** They now have ** {r2hpd} HP ** }}\n\n{=(round3a):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk5} ** damage. {targetx} now has  ** {r3hpa}  HP ** |{targetx} {{atkmsg}}  ** {atk5} ** damage. {userx} now has  ** {r3hpa} HP ** }}\n{=(round3b):{if({r3hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk6} ** damage. {userx} now has  ** {r3hpb} HP ** |{userx} {{atkmsg}}  ** {atk6} ** damage. {targetx} now has  ** {r3hpb} HP ** }}}\n{=(round3c):{all({r3hpa}>0|{r3hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal5} ** They now have ** {r3hpc} HP ** |{targetx} healed for  ** {heal5} ** They now have ** {r3hpc} HP ** }}}\n{=(round3d):{all({r3hpa}>0|{r3hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal6} ** They now have ** {r3hpd} HP ** |{userx} healed for  ** {heal6} ** They now have ** {r3hpd} HP ** }}}\n\n{=(round4a):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk7} ** damage. {targetx} now has  ** {r4hpa} HP ** |{targetx} {{atkmsg}}  ** {atk7} ** damage. {userx} now has  ** {r4hpa} HP ** }}}\n{=(round4b):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk8} ** damage. {userx} now has  ** {r4hpb} HP ** |{userx} {{atkmsg}}  ** {atk8} ** damage. {targetx} now has  ** {r4hpb} HP ** }}}\n{=(round4c):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal7} ** They now have ** {r4hpc} HP ** |{targetx} healed for  ** {heal7}P ** they now have ** {r4hpc} HP ** }}}\n{=(round4d):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal8} ** They now have ** {r4hpd} HP ** |{userx} healed for  ** {heal8} ** they now have ** {r4hpd} HP ** }}}\n\n{=(round5a):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}):{if({coinflip}==user):{userx} {{atkmsg}}  ** {atk9} ** damage. {targetx} now has  ** {r5hpa} HP ** |{targetx} {{atkmsg}}  ** {atk9} ** damage. {userx} now has  ** {r5hpa} HP ** }}}\n{=(round5b):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0):{if({coinflip}==user):{targetx} {{atkmsg}}  ** {atk10} ** damage. {userx} now has  ** {r5hpb} HP ** |{userx} {{atkmsg}}  ** {atk10} ** damage. {targetx} now has  ** {r5hpb} HP ** }}}\n{=(round5c):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0|{r5hpb}>0):{if({coinflip}==target):{userx} healed for  ** {heal9} ** They now have ** {r5hpc} HP ** |{targetx} healed for  ** {heal9} ** They now have ** {r5hpc} HP ** }}}\n{=(round5d):{all({r2hpa}>0|{r2hpb}>0|{r3hpa}>0|{r3hpb}>0|{r4hpa}>0|{r4hpb>0}|{r5hpa}>0|{r5hpb}>0):{if({coinflip}==target):{targetx} healed for  ** {heal10} ** They now have ** {r5hpd} HP ** |{userx} healed for  ** {heal10} ** They now have ** {r5hpd} HP ** }}}\n\n{=(winner):{if({coinflip}==user):{any({r3hpa}==0|{r4hpa}==0|{r5hpa}==0):{userx}|{targetx}}|{any({r3hpa}==0|{r4hpa}==0|{r5hpa}==0):{targetx}|{userx}}}}\n{=(loser):{if({winner}=={userx}):{targetx}|{userx}}}\n{=(winmsg):{#:made a fool out of {loser} and won with~made {loser} look dumb and won with~demolished {loser} with}}\n{=(winhp):{if({r3hpa}==0): ** {r2hpd} HP ** |{if({r3hpb}==0): ** {r3hpa} HP ** |{if({r4hpa}==0): ** {r3hpd} HP ** |{if({r4hpb}==0): ** {r4hpa} HP ** |{if({r5hpa}==0): ** {r4hpd} HP ** |{if({r5hpb}==0): ** {r5hpa} HP ** }}}}}}}\n{=(finalwinmsg):{winner} {winmsg} {winhp}}",
  "embed": "{\"color\": 3014975, \"title\": \"**{server(name)} is having a FIGHT**\", \"fields\": [{\"name\": \"⠀\", \"value\": \"{round1a}\\n\\n{round1b}\\n\\n{round1c}\\n\\n{round1d}\\n\\n{round2a}\\n\\n{round2b}\\n\\n{round2c}\\n\\n{round2d}\\n\\n{round3a}\\n\\n{round3b}\\n\\n{round3c}\\n\\n{round3d}\\n\\n{round4a}\\n\\n{round4b}\\n\\n{round4c}\\n\\n{round4d}\\n\\n{round5a}\\n\\n{round5b}\\n\\n{round5c}\\n\\n{round5d}\", \"inline\": false}, {\"name\": \"⠀\", \"value\": \"{finalwinmsg}\", \"inline\": false}], \"description\": \"{targetx} says, You really think you're better than me?\"}",
  "last_fetched": "2026-10-20T17:27:40.213Z"
}