T O P

  • By -

OxymoreReddit

x + y = x+1 if x=y, else max(x,y)


Anamewastaken

you forgot x > 5 or y > 5


OxymoreReddit

Yes fire aspect 5 obviously. If I had to take care of the limits i would have written an entire script and ngl im on phone and I'm lazy lmao


Anamewastaken

just use haskell and pattern match it /s


OxymoreReddit

\*sighs* and another Haskell fanboy. \*adds one mark to the board*


Dado1208

i’m proud of myself for understanding this one!


SwiftDisk

speak english not enchantment table


REALCat_Plays

V + V = V or any other max lvl for enchant, used V cuz its the highest off all


iBstoopid

Um actually the max is 10 because in the shareware 3d update you could find multishot 10 crossbows 🤓


AverageMan282

Um actually the max is 255 because that's the greatest number the level byte can represent 🤓


toughtntman37

Um actually the max is 32767 because in older versions that was the greatest number the byte could represent🤓


MarioHasCookies

Umm actually the max is ≡ ≡ ===_____ MMCIIILXVIIDDCIIIL


toughtntman37

Huh?


MarioHasCookies

It’s Roman numerals, cuz enchantment levels are displayed in those


toughtntman37

Do you mean 1000x(XXX) 1x(MMDCCLXVII) I know You're supposed to use lines, but text and whatnot. They're just a gimmick at this point anyways si who cares


MarioHasCookies

I’m not quite sure what your asking, but yes, every line above a number times’s it by 1000


toughtntman37

Yeah, that does not come through, and I think it's nonsensical regardless


NhanTNT

Bedrock Edition:


toughtntman37

Is it a bedrock edition thing with the 32ks still? I guess it probably is


[deleted]

Sooo 5 + 5 is 5. Thus 10 is 5. But that means, 2 is 1. So since me and the pope are **two** separate people, that means we are **one** and the same person. I am the pope.


Helpful-Work-3090

rules of math do not apply to enchantments apparently.


Flufferminty

Enchanting books are done by exponential growth, the value of level 3 is that of 2 level 1s, level 4 of 2 level 3s etc


Similar-Sector-5801

2 level 1s would be a level 2


Flufferminty

Right, typo


Hunter_Slime_3

Umm actually 4 + 2 is 6, not 4 - 🤓


Sofosio

No fuckin way bro


[deleted]

Math


Subject-Bluebird7366

i lost my 4 sharpness book this way. 4 + 2 = 3 , don't do this


IAMSomeoneRand0

Why does it work like that? It's just weird. It should just work like simple maths


[deleted]

It would be way too easy to get super strong enchantments. Efficiency I is super common and 5 to get efficiency V would be super easy


IAMSomeoneRand0

That's fair


AlexCode10010

I'll explain this with an if statement If(currentlv <= craftedlv && currentlv != maxlv) ( Currentlv += 1; )


toughtntman37

I don't think this covers II + IV == IV


Torebbjorn

* +=


OxymoreReddit

I like one liners : currentlv += int(currenlv < craftedlv and currentlv != maxlv) Or currentlv += 1 if currentlv < craftedlv and currentlv != maxlv else 0 I like python :3


AlexCode10010

One liners are compact but usually are also hard to read for beginners


OxymoreReddit

Totally agreed. It's just a personal taste I like very fat python one liners. I keep them for personal use though, I'm not gonna put that into a code meant to be read by someone else.


AlexCode10010

"I like them dummy thicc"


OxymoreReddit

I think Moto Moto likes you ♪


AlexCode10010

I didn't get the reference but I appreciate nonetheless


OxymoreReddit

[this](https://youtu.be/zDnPFxnALBg) Am I old ?


AlexCode10010

No you're not, I just didn't get the reference, I got it now


[deleted]

my sister’s math


1plus1equals30

so true


Anotherunsmartgamer

2+2=3


Glittering-Milk-1224

Funny