badact

Privateunrated

Content

174 lines
{=(Largs):{lower:{args}}}
{=(ERROR):Invalid Badnik Name&**Input Error**&E22020}

{=(Comment):Add new options for each generation of Badniks.}
{=(Opt):0 ball hog ballhog ballhog1 bat bat1 brain brain1 batbrain batbrain1 bomb bomb1 burro burro1 burrobot burrobot1 buzz buzz1 bomber bomber1 buzzbomber buzzbomber1 cater cater1 killer killer1 caterkiller1 chopper chopper1 crab crab1 meat meat1 crabmeat crabmeat1 jaw jaw1 jaws jaws1 moto moto1 motobug motobug1 newtron newtron1 green green1 newtrongreen newtrongreen1 newtron2 blue blue2 newtronblue newtronblue2 orb orb1 orbinaut1 unidasu unidasu1 orbinautunidasu orbinautunidasu1 orb2 orbinaut2 uni uni1 uniuni uniuni1 orbinautuni orbinautuni1 obrinautuniuni orbinautuniuni1 roll roll1 roller roller1 spike spike1 spikes spikes1 splat splat1 splats splats1}

{=(BadNames):Ball Hog 1,Ball Hog 1,Ball Hog 1,Ball Hog 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Bomb 1,Bomb 1,Burrobot 1,Burrobot 1,Burrobot 1,Burrobot 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Chopper 1,Chopper 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Jaws 1,Jaws 1,Jaws 1,Jaws 1,Moto Bug 1,Moto Bug 1,Moto Bug 1,Moto Bug 1,Newtron (Green),Newtron (Green) 1,Newtron (Green) 1,Newtron (Green) 1,Newtron (Green) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Roller 1,Roller 1,Roller 1,Roller 1,Spikes 1,Spikes 1,Spikes 1,Spikes 1,Splats 1,Splats 1,Splats 1,Splats 1}

{=(LowBadNames):{lower:{BadNames}}}

{=(BadName):{if({contains({Largs(1)}):{Opt}}==true):{BadNames({index({Largs(1)}):{Opt}}):,}|{ERROR(1):&}}}

{=(Comment):Versions}
{=(Num):{if({BadName(0)}==):1|{if({BadName(0)}==0):1|{BadName(0)}}}}

{=(Comment):add IF statement, otherwise ...}
{=(BadHP):{if({Num}==1):3}{if({Num}==2):6}{if({Num}==3):9}{if({Num}==4):12}{if({Num}==5):15}{if({Num}==6):18}{if({Num}==7):21}}
{=(BadPHY):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}
{=(BadDEF):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}
{=(BadRES):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}
{=(BadSPD):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}
{=(BadNRG):∞}

{=(Badnik):{if({BadName}==Ball Hog 1):https://vignette.wikia.nocookie.net/sonic/images/8/83/Tonton.gif/revision/latest?cb=20090910142020}{if({BadName}==Batbrain 1):https://vignette.wikia.nocookie.net/sonic/images/b/b9/Basaran.gif/revision/latest?cb=20090910141415}{if({BadName}==Bomb 1):https://vignette.wikia.nocookie.net/sonic/images/6/6f/Bomb-spr.png/revision/latest?cb=20110529191521}{if({BadName}==Burrobot 1):https://vignette.wikia.nocookie.net/sonic/images/3/38/Burrobot-spr.png/revision/latest?cb=20110529190351}{if({BadName}==Buzz Bomber 1):https://vignette.wikia.nocookie.net/sonic/images/e/e3/Buzzbomber-sprite.png/revision/latest?cb=20111210192028}{if({BadName}==Caterkiller 1):https://vignette.wikia.nocookie.net/sonic/images/3/39/Caterkiller-sprite.png/revision/latest?cb=20111210193643}{if({BadName}==Chopper 1):https://vignette.wikia.nocookie.net/sonic/images/9/9d/Chopper-spr.png/revision/latest?cb=20110529193117}{if({BadName}==Crabmeat 1):https://vignette.wikia.nocookie.net/sonic/images/a/ab/Crabmeat-sprite.png/revision/latest?cb=20111216211944}{if({BadName}==Jaws 1):https://vignette.wikia.nocookie.net/sonic/images/a/a3/Jaws-sprite.png/revision/latest?cb=20130221110404}{if({BadName}==Moto Bug 1):https://vignette.wikia.nocookie.net/sonic/images/d/d8/Motobug-sprite.png/revision/latest?cb=20111212214146}{if({BadName}==Newtron (Green) 1):https://vignette.wikia.nocookie.net/sonic/images/2/26/Meleong.gif/revision/latest?cb=20090910141252}{if({BadName}==Newtron (Blue) 1):https://vignette.wikia.nocookie.net/sonic/images/8/88/Newtron-spr.png/revision/latest?cb=20110529192004}{if({BadName}==Orbinaut (Unidasu) 1):https://vignette.wikia.nocookie.net/sonic/images/8/81/Unidus.gif/revision/latest?cb=20090910141829}{if({BadName}==Orbinaut (Uni Uni 1)):https://vignette.wikia.nocookie.net/sonic/images/f/fe/Uniuni.gif/revision/latest?cb=20090910141946}{if({BadName}==Roller 1):https://vignette.wikia.nocookie.net/sonic/images/4/47/Arma.gif/revision/latest?cb=20090910141448}{if({BadName}==Spikes 1):https://vignette.wikia.nocookie.net/sonic/images/8/88/Yadorin.gif/revision/latest?cb=20090910141515}{if({BadName}==Splats 1):https://vignette.wikia.nocookie.net/sonic/images/c/c8/Splats.gif/revision/latest?cb=20150509094231}}

{=(Spawn):{if({BadName}=={ERROR(1):&}):{ERROR(1):&}|{replace( {Num},):{BadName}}}}

{=(Defend):
{if({Spawn}==Ball Hog):{#:{Spawn} blocked against {target(mention)}'s attack!,{Spawn} defended itself from {target(mention)}!}}
{if({Spawn}==Batbrain):{#:{Spawn} used its wings to block {target(mention)}'s attack!}}
{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&defended&🛡&DEFE2D}

{=(Evade):
{if({Spawn}==Ball Hog):{#:{Spawn} {#:hopped to the side, rolled to the {#:left,right}} to avoid {target(mention)}'s attack!}}
{if({Spawn}==Batbrain):{#:{Spawn} {#:barrel-rolled {#:up,right,down,left} in,looped in,dove down from} the air to avoid {target(mention)}'s attack!}}
{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&evaded&:cartwheel:&E4ADE0}

{=(Attack):
{if({Spawn}==Ball Hog):{#:{Spawn} opened the hatch on its stomach and a bomb popped out and bounced towards {target(mention)}!,{Spawn} ran towards {target(mention)} to perform a headbutt!}}
{if({Spawn}==Batbrain):{#:{Spawn} swooped down and flew towards {target(mention)}!,{Spawn} hovered towards {target(mention)}!}}
{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&attacked&💢&A77AC5}

{=(Counter):
{if({Spawn}==Ball Hog):{Spawn} {#:countered} {target(mention)}'s attack!}
{if({Spawn}==Batbrain):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}
{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&countered&💥&C09272}

{=(Idle):{Spawn} idled.&idled&:chair:&01D7E0}

{=(ideacft)::chair: \:chair: 🪑 idle idl 🛡 \🛡 🛡 defend def :cartwheel: \:cartwheel: 🤸‍ evade evd 💢 \💢 💢 attack atk 💥 \💥 💥 counter ctr 💡 \💡 💡 focus foc 🔮 \🔮 🔮 transmute tran trans trn}
{=(BAideacft)=idl idl idl idl idl def def def def def eva eva eva eva eva atk atk atk atk atk ctr ctr ctr ctr ctr foc foc foc foc foc trn trn trn trn trn trn trn}
{=(idl)::chair: \:chair: 🪑 idle idl}
{=(def):🛡 \🛡 🛡 defend def}
{=(eva)::cartwheel: \:cartwheel: 🤸‍ evade evd}
{=(atk):💢 \💢 💢 attack atk}
{=(ctr):💥 \💥 💥 counter ctr}
{=(foc):💡 \💡 💡 focus foc}
{=(trn):🔮 \🔮 🔮 transmute tran trans trn}
{=(BattleActions):{idl} {def} {eva} {atk} {ctr} {foc} {trn}}

{=(BatAct):{contains({BattleActions}):{Largs}}}
{=(ATest):{if({contains({Largs(1)} {Largs(2)} {Largs(3)} {Largs(4)}):{Opt}}==true):{if({contains({Largs(5)}):{BattleActions}}==true):{Largs(5+)}}|{if({contains({Largs(1)} {Largs(2)} {Largs(3)}:{Opt}}==true):{if({contains({Largs(4)}):{BattleActions}}==true):{Largs(4+)}}|{if({contains({Largs(1)} {Largs(2)}):{Opt}}==true):{if({contains({Largs(3)}):{BattleActions}}==true):{Largs(3+)}}|{if({contains({Largs(1)}):{Opt}}==true):{if({contains({Largs(2)}):{BattleActions}}==true):{Largs(2+)}}|ERROR.}}}}}
{=(ArgCount):{index(Position):{args} Position}}
{=(BadAct):{index({Largs({index({BattleActions}):{Largs} {BattleActions}})}):{BattleActions}}}
{=(BadAP):{Largs({index({BattleActions}):{Largs}})}}

{=(BadAction):{if({Spawn}=={ERROR(1):&}):ERROR|{if({contains(def):{Largs}}==true):{#:Idle,Attack}|{if({contains(eva):{Largs}}==true):{#:Defend,Attack}|{if({contains(atk):{Largs}}==true):{#:Defend,Evade,Counter}|{if({contains(ctr):{Largs}}==true):Attack|{if({contains(foc):{Largs}}==true):{{#:Defend,Attack}}|{if({contains(trn):{Largs}}==true):{#Defend,Attack}|ERROR}}}}}}}}

{=(DEAC):{if({BadAction}==ERROR):{ERROR(2):&}|{replace(
,):{{BadAction}(1):&}}}}

{=(Mood):{{BadAction}(0):&}}

{=(Action):{if({BadAction}==ERROR):|{{BadAction}(2):&}!}}

{embed(color):#{Mood}}

{=(Comment):Focus Logic. May not work because they reference each other regardless of order.}
{=(Turn):{if({0}!={Turn}):4|0 1 2 3 4}}
{=(SRN):4,3,2,1}
{=(FoT):{if({contains({0}):{Turn}}==true):{SRN({index({0}):{Turn}}):,}|4}}
{=(Focus):{range:{if({0}!={Turn}):4|{FoT}}-100}}
{=(Unfocus):{Focus}<=4}
{=(Turn2):{if({Unfocus}==true):1|{Turn}}}

{=(Comment):Magic (may add ability to increase/decrease affinities)}
{=(ELE):ERT&WTR&AIR&FIR}
{=(ERT):⛰&⛰️&Earth&ERT&08&1&2&3&2}
{=(WTR):🌊&🌊&Water&WTR&08&2&1&2&3}
{=(AIR):💨&💨&Air&AIR&08&2&3&1&2}
{=(FIR):🔥&🔥&Fire&FIR&08&3&2&2&1}

{=(Comment):Maybe, have it locate NRG then find the number after it. Inlcude UserMAG?}
{=(NRG):{-1}}
{=(UserSPD):}
{=(UserRES):}
{=(UserDEF):}
{=(UserPHY):}
{=(UserCE):}

{=(Comment):Randomized Criticals. Move CoNs to the top? Include IF statement(s) for whatever Action Badnik does; change BADPHYCR to whichever Action is being done. Define User[Actions] so that UserAC can add potential criticals to them. AC or CR for -Critical? Do I just need to make a new variable for the altered version of whatever stat is being tested?}
{=(BadD25):{math:trunc(round({Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}))}}
{=(BadDN):{Range:0-{BadD25}}}
{=(BadCoN):{all({BadDN}>={math:trunc(round({BadD25}/2))}):1.2|0}}
{=(BadAC):{if({BadAction}==Defend):{BadDEF}|{if({BadAction}==Evade):{BadSPD}|{if({BadAction}==Attack):{BadPHY}|{if({BadAction}==Counter):{BadPHY}|{if({BadAction}==Idle):0|0}}}}}}
{=(BadCR):{math:{BadAC}*{BadCoN}}}
{=(BadCritical):{if({if({math:{BadCR}%1}==0.0):{math:trunc({BadCR})}|{math:trunc(trunc({BadCR})+1)}}==0.0):{BadAC}|{if({math:{BadCR}%1}==0.0):{math:trunc({BadCR})}|{math:trunc(trunc({BadCR})+1)}}}}

{=(Glitch):(Maybe just have the items counted in variables. If @ >= # and < #, Take a di off, This line may be in the wrong place since it is dependant on UserD25.)}
{=(UserD25):{Math:{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}}}
{=(BadCoN):{BadDN}>={math:trunc(round({BadD25}/2))}}
{=(BadAC):{if({BadAction}==Defend):{BadDEF}|{if({BadAction}==Evade):{BadSPD}|{if({BadAction}==Attack):{BadPHY}|{if({BadAction}==Counter):{BadPHY}|{if({BadAction}==Idle):0|0}}}}}}
{=(UserCR):{math:{UserPHY}*{if({Range:1-100}>=50):1.2|0}}}
{=(UserCritical):{if({if({Math:{UserCR}%1}==0.0):{Math:trunc({UserCR})}|{Math:trunc(trunc({UserCR})+1)}}==0):{UserAC}|{if({Math:{UserCR}%1}==0.0):{Math:trunc({UserCR})}|{Math:trunc(trunc({UserCR})+1)}}}}


{=(Comment):Math. If NRG is completely drained, User faints (add with error for entire command). If not 0 before, then when it is, they faint.}
{=(Drain):{if({NRG}==0):0|{Math:{NRG}-{{ELE}(5):&}}}}

Embed

1 line
{"color": 5198940, "image": {"url": "{Badnik}"}, "title": "{if({Spawn}=={ERROR(1):&}):{ERROR(1):&}|{Spawn} {Action} {{BadAction}(3):&}}", "author": {"name": "Badnik", "icon_url": "https://cdn.discordapp.com/attachments/620264531557482515/644964285231005727/Eggman_Empire_2.png"}, "footer": {"text": "Produced by the 𝗘𝗚𝗚𝗠𝗔𝗡 𝗘𝗠𝗣𝗜𝗥𝗘"}, "description": "{if({BadName}=={ERROR(1):&}):Failed to spawn Badnik.|:robot: (BAD): {Spawn}\n:heart: (HP): {BadHP}\n:punch: (PHY): {BadPHY}\n:shield: (DEF): {BadDEF}\n:no_entry_sign: (RES): {BadRES}\n:athletic_shoe: (SPD): {BadSPD}\n\n{target(mention)} {args(3+)}\n\n{DEAC} `{BadCritical}` damage dealt to {target(mention)}!\n\nCount: {ArgCount}\nAction: {BadAct}\nTest: {ATest}\nBattle Action: {BatAct}\nPosition: {BadAP}\n}"}
Raw JSON
{
  "id": 89756,
  "created_at": "2019-11-17T03:54:32.000Z",
  "tag_name": "badact",
  "nsfw": false,
  "owner_id": "392658397536976908",
  "uses": 409,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "620015629642104852",
  "sharer": "392658397536976908",
  "content": "{=(Largs):{lower:{args}}}\n{=(ERROR):Invalid Badnik Name&**Input Error**&E22020}\n\n{=(Comment):Add new options for each generation of Badniks.}\n{=(Opt):0 ball hog ballhog ballhog1 bat bat1 brain brain1 batbrain batbrain1 bomb bomb1 burro burro1 burrobot burrobot1 buzz buzz1 bomber bomber1 buzzbomber buzzbomber1 cater cater1 killer killer1 caterkiller1 chopper chopper1 crab crab1 meat meat1 crabmeat crabmeat1 jaw jaw1 jaws jaws1 moto moto1 motobug motobug1 newtron newtron1 green green1 newtrongreen newtrongreen1 newtron2 blue blue2 newtronblue newtronblue2 orb orb1 orbinaut1 unidasu unidasu1 orbinautunidasu orbinautunidasu1 orb2 orbinaut2 uni uni1 uniuni uniuni1 orbinautuni orbinautuni1 obrinautuniuni orbinautuniuni1 roll roll1 roller roller1 spike spike1 spikes spikes1 splat splat1 splats splats1}\n\n{=(BadNames):Ball Hog 1,Ball Hog 1,Ball Hog 1,Ball Hog 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Batbrain 1,Bomb 1,Bomb 1,Burrobot 1,Burrobot 1,Burrobot 1,Burrobot 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Buzz Bomber 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Caterkiller 1,Chopper 1,Chopper 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Crabmeat 1,Jaws 1,Jaws 1,Jaws 1,Jaws 1,Moto Bug 1,Moto Bug 1,Moto Bug 1,Moto Bug 1,Newtron (Green),Newtron (Green) 1,Newtron (Green) 1,Newtron (Green) 1,Newtron (Green) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Newtron (Blue) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Unidasu) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Orbinaut (Uni Uni) 1,Roller 1,Roller 1,Roller 1,Roller 1,Spikes 1,Spikes 1,Spikes 1,Spikes 1,Splats 1,Splats 1,Splats 1,Splats 1}\n\n{=(LowBadNames):{lower:{BadNames}}}\n\n{=(BadName):{if({contains({Largs(1)}):{Opt}}==true):{BadNames({index({Largs(1)}):{Opt}}):,}|{ERROR(1):&}}}\n\n{=(Comment):Versions}\n{=(Num):{if({BadName(0)}==):1|{if({BadName(0)}==0):1|{BadName(0)}}}}\n\n{=(Comment):add IF statement, otherwise ...}\n{=(BadHP):{if({Num}==1):3}{if({Num}==2):6}{if({Num}==3):9}{if({Num}==4):12}{if({Num}==5):15}{if({Num}==6):18}{if({Num}==7):21}}\n{=(BadPHY):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}\n{=(BadDEF):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}\n{=(BadRES):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}\n{=(BadSPD):{if({Num}==1):1}{if({Num}==2):2}{if({Num}==3):3}{if({Num}==4):4}{if({Num}==5):5}{if({Num}==6):6}{if({Num}==7):7}}\n{=(BadNRG):∞}\n\n{=(Badnik):{if({BadName}==Ball Hog 1):https://vignette.wikia.nocookie.net/sonic/images/8/83/Tonton.gif/revision/latest?cb=20090910142020}{if({BadName}==Batbrain 1):https://vignette.wikia.nocookie.net/sonic/images/b/b9/Basaran.gif/revision/latest?cb=20090910141415}{if({BadName}==Bomb 1):https://vignette.wikia.nocookie.net/sonic/images/6/6f/Bomb-spr.png/revision/latest?cb=20110529191521}{if({BadName}==Burrobot 1):https://vignette.wikia.nocookie.net/sonic/images/3/38/Burrobot-spr.png/revision/latest?cb=20110529190351}{if({BadName}==Buzz Bomber 1):https://vignette.wikia.nocookie.net/sonic/images/e/e3/Buzzbomber-sprite.png/revision/latest?cb=20111210192028}{if({BadName}==Caterkiller 1):https://vignette.wikia.nocookie.net/sonic/images/3/39/Caterkiller-sprite.png/revision/latest?cb=20111210193643}{if({BadName}==Chopper 1):https://vignette.wikia.nocookie.net/sonic/images/9/9d/Chopper-spr.png/revision/latest?cb=20110529193117}{if({BadName}==Crabmeat 1):https://vignette.wikia.nocookie.net/sonic/images/a/ab/Crabmeat-sprite.png/revision/latest?cb=20111216211944}{if({BadName}==Jaws 1):https://vignette.wikia.nocookie.net/sonic/images/a/a3/Jaws-sprite.png/revision/latest?cb=20130221110404}{if({BadName}==Moto Bug 1):https://vignette.wikia.nocookie.net/sonic/images/d/d8/Motobug-sprite.png/revision/latest?cb=20111212214146}{if({BadName}==Newtron (Green) 1):https://vignette.wikia.nocookie.net/sonic/images/2/26/Meleong.gif/revision/latest?cb=20090910141252}{if({BadName}==Newtron (Blue) 1):https://vignette.wikia.nocookie.net/sonic/images/8/88/Newtron-spr.png/revision/latest?cb=20110529192004}{if({BadName}==Orbinaut (Unidasu) 1):https://vignette.wikia.nocookie.net/sonic/images/8/81/Unidus.gif/revision/latest?cb=20090910141829}{if({BadName}==Orbinaut (Uni Uni 1)):https://vignette.wikia.nocookie.net/sonic/images/f/fe/Uniuni.gif/revision/latest?cb=20090910141946}{if({BadName}==Roller 1):https://vignette.wikia.nocookie.net/sonic/images/4/47/Arma.gif/revision/latest?cb=20090910141448}{if({BadName}==Spikes 1):https://vignette.wikia.nocookie.net/sonic/images/8/88/Yadorin.gif/revision/latest?cb=20090910141515}{if({BadName}==Splats 1):https://vignette.wikia.nocookie.net/sonic/images/c/c8/Splats.gif/revision/latest?cb=20150509094231}}\n\n{=(Spawn):{if({BadName}=={ERROR(1):&}):{ERROR(1):&}|{replace( {Num},):{BadName}}}}\n\n{=(Defend):\n{if({Spawn}==Ball Hog):{#:{Spawn} blocked against {target(mention)}'s attack!,{Spawn} defended itself from {target(mention)}!}}\n{if({Spawn}==Batbrain):{#:{Spawn} used its wings to block {target(mention)}'s attack!}}\n{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&defended&🛡&DEFE2D}\n\n{=(Evade):\n{if({Spawn}==Ball Hog):{#:{Spawn} {#:hopped to the side, rolled to the {#:left,right}} to avoid {target(mention)}'s attack!}}\n{if({Spawn}==Batbrain):{#:{Spawn} {#:barrel-rolled {#:up,right,down,left} in,looped in,dove down from} the air to avoid {target(mention)}'s attack!}}\n{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&evaded&:cartwheel:&E4ADE0}\n\n{=(Attack):\n{if({Spawn}==Ball Hog):{#:{Spawn} opened the hatch on its stomach and a bomb popped out and bounced towards {target(mention)}!,{Spawn} ran towards {target(mention)} to perform a headbutt!}}\n{if({Spawn}==Batbrain):{#:{Spawn} swooped down and flew towards {target(mention)}!,{Spawn} hovered towards {target(mention)}!}}\n{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&attacked&💢&A77AC5}\n\n{=(Counter):\n{if({Spawn}==Ball Hog):{Spawn} {#:countered} {target(mention)}'s attack!}\n{if({Spawn}==Batbrain):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Bomb):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Burrobot):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Buzz Bomber):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Caterkiller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Chopper):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Crabmeat):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Jaws):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Moto Bug):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Green)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Newtron (Blue)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Unidasu)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Orbinaut (Uni Uni)):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Roller):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Spikes):{Spawn} {#:,} {target(mention)}!}\n{if({Spawn}==Splats):{Spawn} {#:,} {target(mention)}!}&countered&💥&C09272}\n\n{=(Idle):{Spawn} idled.&idled&:chair:&01D7E0}\n\n{=(ideacft)::chair: \\:chair: 🪑 idle idl 🛡 \\🛡 🛡 defend def :cartwheel: \\:cartwheel: 🤸‍ evade evd 💢 \\💢 💢 attack atk 💥 \\💥 💥 counter ctr 💡 \\💡 💡 focus foc 🔮 \\🔮 🔮 transmute tran trans trn}\n{=(BAideacft)=idl idl idl idl idl def def def def def eva eva eva eva eva atk atk atk atk atk ctr ctr ctr ctr ctr foc foc foc foc foc trn trn trn trn trn trn trn}\n{=(idl)::chair: \\:chair: 🪑 idle idl}\n{=(def):🛡 \\🛡 🛡 defend def}\n{=(eva)::cartwheel: \\:cartwheel: 🤸‍ evade evd}\n{=(atk):💢 \\💢 💢 attack atk}\n{=(ctr):💥 \\💥 💥 counter ctr}\n{=(foc):💡 \\💡 💡 focus foc}\n{=(trn):🔮 \\🔮 🔮 transmute tran trans trn}\n{=(BattleActions):{idl} {def} {eva} {atk} {ctr} {foc} {trn}}\n\n{=(BatAct):{contains({BattleActions}):{Largs}}}\n{=(ATest):{if({contains({Largs(1)} {Largs(2)} {Largs(3)} {Largs(4)}):{Opt}}==true):{if({contains({Largs(5)}):{BattleActions}}==true):{Largs(5+)}}|{if({contains({Largs(1)} {Largs(2)} {Largs(3)}:{Opt}}==true):{if({contains({Largs(4)}):{BattleActions}}==true):{Largs(4+)}}|{if({contains({Largs(1)} {Largs(2)}):{Opt}}==true):{if({contains({Largs(3)}):{BattleActions}}==true):{Largs(3+)}}|{if({contains({Largs(1)}):{Opt}}==true):{if({contains({Largs(2)}):{BattleActions}}==true):{Largs(2+)}}|ERROR.}}}}}\n{=(ArgCount):{index(Position):{args} Position}}\n{=(BadAct):{index({Largs({index({BattleActions}):{Largs} {BattleActions}})}):{BattleActions}}}\n{=(BadAP):{Largs({index({BattleActions}):{Largs}})}}\n\n{=(BadAction):{if({Spawn}=={ERROR(1):&}):ERROR|{if({contains(def):{Largs}}==true):{#:Idle,Attack}|{if({contains(eva):{Largs}}==true):{#:Defend,Attack}|{if({contains(atk):{Largs}}==true):{#:Defend,Evade,Counter}|{if({contains(ctr):{Largs}}==true):Attack|{if({contains(foc):{Largs}}==true):{{#:Defend,Attack}}|{if({contains(trn):{Largs}}==true):{#Defend,Attack}|ERROR}}}}}}}}\n\n{=(DEAC):{if({BadAction}==ERROR):{ERROR(2):&}|{replace(\n,):{{BadAction}(1):&}}}}\n\n{=(Mood):{{BadAction}(0):&}}\n\n{=(Action):{if({BadAction}==ERROR):|{{BadAction}(2):&}!}}\n\n{embed(color):#{Mood}}\n\n{=(Comment):Focus Logic. May not work because they reference each other regardless of order.}\n{=(Turn):{if({0}!={Turn}):4|0 1 2 3 4}}\n{=(SRN):4,3,2,1}\n{=(FoT):{if({contains({0}):{Turn}}==true):{SRN({index({0}):{Turn}}):,}|4}}\n{=(Focus):{range:{if({0}!={Turn}):4|{FoT}}-100}}\n{=(Unfocus):{Focus}<=4}\n{=(Turn2):{if({Unfocus}==true):1|{Turn}}}\n\n{=(Comment):Magic (may add ability to increase/decrease affinities)}\n{=(ELE):ERT&WTR&AIR&FIR}\n{=(ERT):⛰&⛰️&Earth&ERT&08&1&2&3&2}\n{=(WTR):🌊&🌊&Water&WTR&08&2&1&2&3}\n{=(AIR):💨&💨&Air&AIR&08&2&3&1&2}\n{=(FIR):🔥&🔥&Fire&FIR&08&3&2&2&1}\n\n{=(Comment):Maybe, have it locate NRG then find the number after it. Inlcude UserMAG?}\n{=(NRG):{-1}}\n{=(UserSPD):}\n{=(UserRES):}\n{=(UserDEF):}\n{=(UserPHY):}\n{=(UserCE):}\n\n{=(Comment):Randomized Criticals. Move CoNs to the top? Include IF statement(s) for whatever Action Badnik does; change BADPHYCR to whichever Action is being done. Define User[Actions] so that UserAC can add potential criticals to them. AC or CR for -Critical? Do I just need to make a new variable for the altered version of whatever stat is being tested?}\n{=(BadD25):{math:trunc(round({Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}))}}\n{=(BadDN):{Range:0-{BadD25}}}\n{=(BadCoN):{all({BadDN}>={math:trunc(round({BadD25}/2))}):1.2|0}}\n{=(BadAC):{if({BadAction}==Defend):{BadDEF}|{if({BadAction}==Evade):{BadSPD}|{if({BadAction}==Attack):{BadPHY}|{if({BadAction}==Counter):{BadPHY}|{if({BadAction}==Idle):0|0}}}}}}\n{=(BadCR):{math:{BadAC}*{BadCoN}}}\n{=(BadCritical):{if({if({math:{BadCR}%1}==0.0):{math:trunc({BadCR})}|{math:trunc(trunc({BadCR})+1)}}==0.0):{BadAC}|{if({math:{BadCR}%1}==0.0):{math:trunc({BadCR})}|{math:trunc(trunc({BadCR})+1)}}}}\n\n{=(Glitch):(Maybe just have the items counted in variables. If @ >= # and < #, Take a di off, This line may be in the wrong place since it is dependant on UserD25.)}\n{=(UserD25):{Math:{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}+{Range:1-25}}}\n{=(BadCoN):{BadDN}>={math:trunc(round({BadD25}/2))}}\n{=(BadAC):{if({BadAction}==Defend):{BadDEF}|{if({BadAction}==Evade):{BadSPD}|{if({BadAction}==Attack):{BadPHY}|{if({BadAction}==Counter):{BadPHY}|{if({BadAction}==Idle):0|0}}}}}}\n{=(UserCR):{math:{UserPHY}*{if({Range:1-100}>=50):1.2|0}}}\n{=(UserCritical):{if({if({Math:{UserCR}%1}==0.0):{Math:trunc({UserCR})}|{Math:trunc(trunc({UserCR})+1)}}==0):{UserAC}|{if({Math:{UserCR}%1}==0.0):{Math:trunc({UserCR})}|{Math:trunc(trunc({UserCR})+1)}}}}\n\n\n{=(Comment):Math. If NRG is completely drained, User faints (add with error for entire command). If not 0 before, then when it is, they faint.}\n{=(Drain):{if({NRG}==0):0|{Math:{NRG}-{{ELE}(5):&}}}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{Badnik}\"}, \"title\": \"{if({Spawn}=={ERROR(1):&}):{ERROR(1):&}|{Spawn} {Action} {{BadAction}(3):&}}\", \"author\": {\"name\": \"Badnik\", \"icon_url\": \"https://cdn.discordapp.com/attachments/620264531557482515/644964285231005727/Eggman_Empire_2.png\"}, \"footer\": {\"text\": \"Produced by the 𝗘𝗚𝗚𝗠𝗔𝗡 𝗘𝗠𝗣𝗜𝗥𝗘\"}, \"description\": \"{if({BadName}=={ERROR(1):&}):Failed to spawn Badnik.|:robot: (BAD): {Spawn}\\n:heart: (HP): {BadHP}\\n:punch: (PHY): {BadPHY}\\n:shield: (DEF): {BadDEF}\\n:no_entry_sign: (RES): {BadRES}\\n:athletic_shoe: (SPD): {BadSPD}\\n\\n{target(mention)} {args(3+)}\\n\\n{DEAC} `{BadCritical}` damage dealt to {target(mention)}!\\n\\nCount: {ArgCount}\\nAction: {BadAct}\\nTest: {ATest}\\nBattle Action: {BatAct}\\nPosition: {BadAP}\\n}\"}",
  "last_fetched": "2026-10-20T20:42:47.599Z"
}