 Hello guys crypto grounds here welcome back to another unity and time our dimensions video this episode four and today We're gonna be starting on the the dimensional sacrifice. Yeah, so this should be an interesting one We have our equations all set up. So this shouldn't be too big too big of a deal Or too bad. I like to speed. All right. Anyways, if you enjoy this video We smash the like button subscribe my channel if you're new turn on those notifications Check out my patreon and the link the links in the description if you want to support me comment all your Compliments feedback suggestions all that good stuff below and check out my other videos in the top right corner. Anyways, let's hop into it so, okay, so Okay, so I don't know the exact equation for the Dimensional sacrifice, but I tried my best. Okay, so here's some of my notes I can't remember if I discussed this in a previous video, but I started doing this so Dimensional sacrifice based on floor locked and first dim so the first dimension so basically it's based off of this number right here Okay, and the highest floor Know the highest so basically. Oh, yeah, so based on current dimsack as well. Maybe it's based on the highest. Okay, so I Thought it was so when I think it's highest being whenever you like highest Amount when you did a sacrifice, right? So we take the difference between those. Okay, so we do highest Is equal to floor log 10 first dim minus the current floor? Okay, and this starts at exponent e11 and Or exponent 11 and our equation is roughly this that's my guess now We may not be correct, but I think that's my guess. Okay, so let's hop into this This will be taking place in the dimensions, right? So we don't have it in here because I reset on my progress, but it's in here next to the map by max all okay So let's I should have created this interface beer back Okay, so I was for approaching this We should get it. Okay, so let's see when do we unlock it? I think it's when we first reach Eight right no Okay, so it's after we get the dim boost five. Okay unlocked When get dim boost Our dim shift because this is dimensional shifts, right? And then it transforms into dimension boost now that makes sense. Okay, I didn't understand that at first I completely forgot the terminology of this Okay, so this is what look like in here. We have a confirmation thing. I'm not gonna add the confirmation yet I'm just gonna throw the button right in and I eventually want to learn how to do pop-ups like this Cuz I personally don't know yet how to do that. So maybe I can just some do some kind of like I Don't know can we do buttons like if hovered over button or something? I don't know I'll have to learn how to do that cuz I think that'd be kind of cool Okay, so let me add the buttons in real quick Also before we do this I want to be sure to add this color thing here So how did we do it? Well, we did the exact same thing as a button in here and Let's see. Let's grab our UI real quick. I think that's right here. It's yeah, so it's a cut. It's a button So I'm gonna add a button real quick. Okay, and now in our update method. We're just gonna set the color equal to Magnet sorry Let's see we can just copy this here and our colors our Colors right here are based or originally from dimension. So we'll just grab from there So if anti matter is greater than take speed cost, that's pretty much it self-explanatory Oh that colors. It's that color right that colors. Why is that color not a thing? Is it an image? I think it's an image. Yeah, it is an image. Okay interesting Okay, so image here is our button right there. Okay, so we got that done pretty easy and Now we need to get a UI in and this looks like a pretty wide button. So Okay, so it looks like that. Alrighty, I'm gonna create a new empty here. Let's move this full screen cuz that's kind of annoying So take speed Copy and paste that this will be our dim sack right here Okay, I think we're doing pretty good on our UI. I could probably squeeze some of these things up a little more So I have space for the Galaxies, but otherwise I think we're on we're on to a good start here. Yeah, I'm just gonna shift these up a bit Yeah, that looks perfectly fine Now doesn't look as cluttered. I guess down there. All right, so now that we have our Dimensional sacrifice, let's get that going in here and that will be in our game or actually that will be in our dimensions Okay, I'm gonna close everything we don't need. All right First off we need so we have our dimensions. Let's do So we have dimension shift here Let's add regions to kind of organize this dimension shift Okay, there we go. That'll kind of organize our code and here we'll add dimensional sacrifice Okay, and now in here We need to add a variable or a property for our equation and that is Possibly this now this will be kind of hard to see because we're gonna have separate variables In order to track this which I'm gonna start here. So let's see. We need to have our highest um Highest first dim, I guess. Okay So our highest first dim will be A variable that we will set when we Do it that's tricky because What if this current floor is Much I think I'm gonna have to flip these. I think this is highest I think it's current minus highest That makes sense because if highest is zero then we don't need to subtract anything. Okay All right. So now we have a we have this equation right here. We can set Our equation to oh shoot. We also need the yeah, let's like we can do it now This will be our dimensional dimensional sacrifice Okay, and this will be Floor we're using big doubles floor Uh log base 10 And I think I'm just gonna put abs just to be safe. So you don't get negative infinity at at any point And also I need eventually I know this is like out of the way, but I need to somehow Create the infinity thing, which is not that hard to do. I just got to set everything to infinity You know until we break it And then in here we just put Game dot data dot dimension count And that is zero. Okay. So that is our dimensional sacrifice and we are going to subtract this by The same thing here Except our highest first dimensions. Okay So that is pretty much it this can honestly go to Uh, I don't know when dimensional sacrifice resets. I think that's just galaxy only I believe I will I I think we will have to observe that later But let's go to our data and add that in here. So we have dimension shifts. Let's add another Let's add our highest first dimensions Okay, and we will set that to zero right here Okay, game dot data dot highest first dimensions. All right, so we need to set this equation in Okay, this will be when we sacrifice. Okay, so let's have a variable public void dimensional Sacrifice see that's matching to our variable. So I'm gonna lower key that Dimensional sacrifice. Okay And now in here, let's just set our Our let's just set this to our current count If Okay, so first of all, we gotta make sure this is greater than zero right or greater than one So if this is greater than one, then we will do the process But also I mean, we don't need to check to see if this is higher than this because it shouldn't be in the first place, right? um Okay I think we're gonna have to do a little bit more work here Yeah, let's do this we're gonna instead of doing the the arrow thing. We're gonna do it in a Get we're in a getter. Okay So we're gonna create two variables. This is our current Okay And we need to create a highest variable And we'll move that in here Okay So if Current is greater or equal then if it's just greater than highest Then we're going to return um Basically current minus highest. Okay Otherwise, we're just gonna return one Alrighty pretty easy and we could probably make this private Okay, so the the sacrifice is pretty much the same thing as a shift except we Just reset all of them. Let's see Let's see dimensional sacrifice remove all of your first to seven. Okay, so it won't reset eight and That's it and it'll boost eight Okay, so where's our dimension shift right here? So let's go to our shift reset. So instead of doing it like this Where we reset all of this we need to Reset the first seven and we're gonna do this in a forlip. Okay. We can't do this new big double thing We can't just do new big double seven or else we won't have an eighth dimension anymore Okay so in here We need to Let's set this to here of our data at the top and get rid of this game of data Okay, so I created this for a forlip now instead of doing eight I did seven because remember we don't want to clear the eighth dimension We just want to mess with the first one through seven. I think it's one through seven or is it two through seven? Yeah, one through seven that would make more sense um, and in here we just set count equal to zero reset boosts equal to I think we just said it. Yeah, we said zero and we set unlocked to true So we don't actually mess with the the unlocked here Um, oh, yeah, we need to do that index. I index I index I Let's see. What are all of these just Yeah, okay. They're just default variables Easy enough. Okay. So that will work just fine and Okay Where is my variables? I'm just like lost over here. So this is this This is the dimsack to get. Okay. This is the dimsack to get All right We need to add to uh another variable in data Which is going to be our public big double Uh, dimensional sacrifice boost. Okay And we will add that above here set it equal to to one. Okay Alrighty and we will add on to this boost right here So that's after we uh, we don't need to reset anti-matter. Um, after we set this to its count We will Add on to the boost. So this is data dot boost plus equals data Our dimensional sacrifice total or to get Okay, and now in here We need to multiply the boost by the eighth dimension. So where's our production here? Okay And So this is where things get a little tricky because Oh wait Okay, I think that I'm just going to find my boost dimensional shift boost, right? Okay, so I'm going to do Uh, if Yeah, okay. This will this should work fine because this is a dimensional shift boost Right. Yeah, so it's applied to this right here. Okay, so we can just do i equals if i is equal to seven And then we are going to multiply this shift boost by The sacrifice boost and we're setting this here and then we multiply it Okay, so we actually haven't um done the equation yet. I forgot we wrote down this equation right here Starts at exponent 11. We never actually did that You see This is our Cal this is our exponents here. So we're calculating. We're subtracting the exponents So we need to somehow combine these together So This we're not returning current minus highest because we're just so we're just we're just returning the highest Um, if there is a highest right if the current one is higher than what we already have then we're going to return that so So I think we just got to return this right here, right? So we just do 1.21. Oh, yeah, so we do a big double pow Um 1.21 to the power. Yeah 1.21 to the power of current minus highest minus 10 Okay, and that is our exponents Cool that should do and we'll convert this into a question mark operator Just like that We can just raise that out. I think we're good to go. Let's give it a shot. This might look weird Oh, we actually I don't think we have the interface for it yet. Okay, so we have our Uh, I don't know what happened there. Okay, it moved me Okay, so I'm gonna add a text in here. It's a tmp text. It's gonna be called dimensional sacrifice text And we also need a button So this is red. So when does this turn green? It turns green when this is greater than one, right? Yeah Also, you see this looks like it's slowed down a lot. Hmm. So maybe our equation isn't quite right after all That's interesting So 127 Well, let's get a little more action going So 127 is still our highest So maybe it does like decay or something because I didn't remember when we talked about this It's not exactly that. So maybe there is some sort of like log action going on or some square root Uh, yeah, see it's still picking up. So the highest we got for sure, right, but this is slowed down eventually based on Um, I don't know. Let's hear. Let's try to get let's try to get this further Yeah So 121 148 Okay, so let's let's grab this number here. Okay 1.14 times 1.14 It's yeah, it seems like it's This number here is not adding on but it's also like based on what this is here So ours is gonna be based on or what it was originally and this is multiplying So I think we're gonna have to implement some kind of formula for this and again This is way more complex than I was imagining, but we will just see what we can do with this so far And let's add another image here Okay, so we're gonna set all of our dimensional sacrifice text and buttons Okay, so we do dimensional sacrifice and then our variable that we created for the to get Don't notate and we want two decimals and this is our default so we can actually just get rid of that And for our colors, so we will do the same thing except if Oh, boy, what's this? Oh, it's that color So if okay So dimensional sacrifice is greater than one. We'll just do that if it's greater than one Otherwise, there's really no point in doing it and I don't know if that's how they do it But I'm gonna do it for the sake of um A quality of life because we don't want to dim sack out at one Okay, when it's useless. So and that's what our if statement appears for anyways I'm gonna save it. It looks good Things might turn out iffy it might turn out great. Who knows? And I want this to appear Okay, we want this to appear When we have Five, okay, so that's cool. We can do this. So if If data dot dimensional sacrifice or yeah shifts is Greater than four then we're gonna set this active. Okay, so we can actually Move this here replace the if statement and do game object set active And we'll make it true based on whatever this bull Uh condition is here, which is if it's true or not. Okay, so now we're gonna go back to our unity and We're gonna try it out So we're gonna go to dimensions manager add our dim sack text and our bun We need to apply dim sack to our Uh, this is the wrong button drag our dimensions manager and apply dimensional sacrifice save it Let's I don't know Oh our dimensional sacrifice is still here. That's wrong. Uh, we need our tixby cost button Uh, our button is still here. Why is it still here? Okay, if there's a reason I can still toggle this Okay Sure, you know We force it To be active accordingly to whatever this statement is. Yep. We can still update this I'm just not gonna worry about it for now Because that's yeah, I'm just not gonna worry about it Uh, let's cheat to cheat in some numbers Oh Okay, so we already see an nan. That's not good Maybe after we get some exponents in We don't see our dims. Okay, so there's something going on We don't see our We don't even see our shift button over here Oh, this is the dimensional shift button. I see what I did wrong here. Okay, so Oops Scratch what I said here We need to fix this if statement here Oh, we'll just replace this here with the sac button Oops, so yeah pay attention to your code or else you'll be stupid like me Cool. So our buttons gone Uh, we have our dim shift now Okay, now we can cheat and our I don't know what happened to the na in here But we will see Let's see. I'm gonna increase the intensity of this You know, it's fine I need to keep mine so badly. I keep telling myself that maybe I should just do that next to get it done over with And this is dimensional dimension boost still Oh, okay, so we have our nan here. That's not good. Well, we know our equation is completely screwed Also, this should say dimension boost So, okay, what we're gonna do here is add this Question mark operator So if dimension shifts is greater than four and then we're gonna to display this as Question mark question mark shift dimension shift, right? Is it shifts or no, it's shift and then galaxy so it's boost dimension boost Yeah, and then it's shift if it's not okay And why is this na in? I don't know Let's see what we did wrong here So we have our okay. I see here our highest is zero, right? So we need to Add a plus one because it's a log Same thing for here just we need to add one Because it's a log and logs are evil longs are very evil Actually, I'm adding plus one might not be the solution but at least um We can just do If uh, this is equal to zero, then we're just gonna pick one Or we're actually yeah, we're just gonna do zero And we will do the exact same thing for this except with the highest first dimensions here So if it's equal to zero, then we'll just to zero. Otherwise, we'll choose this and that should work Okay, we gotta do this all over again. Oh my gosh Okay, so we have our one times here Good 0.18 that does not look correct And Yeah, I think that's because of this right here. Okay Uh, man, all right So We also need to do another question mark operator here. Uh, basically if this current high is less than 10 Right Yeah, if it's less than 10, then we're just gonna set four set this to one. Otherwise, we will use the boost And we can get I guess we can get rid of these parentheses Um, curious to see if this actually pursues its goals Let's pause it. Okay, so we're at 30 times. This is going a little too fast We need to we need to speed this one up though Okay, I believe that equation is growing too fast and that's because this has some kind of like, um Reduced effect or something So what we need to do eventually is make this equation not add on to it, but it needs to be based on Uh, what our current boost is so race. We're actually technically multiplying it, right? So before we forget to do that, we're technically multiplying Because that's what this does so it boosts a dimension by 1.44 times, right? Okay, so let's see. Where is this going? Um, so we're at E 28 Okay This will probably pick up in a little bit. Hopefully I will be able to watch it Uh, I just need to compare so this should be a 30.91 at E 28 And now I can't remember what this was back at E 17, but I guess it's worth a shot Too slow for me I love playing this. I think it's kind of cool how the math works because like I never like really thought of this kind of stuff until I did a deeper analysis And I think doing this kind of analysis is fun It may not be for some other people, but I don't know. I like doing this. I think it's interesting Is this increasing by a constant amount every time? That's almost what it seems like, but it's I don't know Okay, we're at five times now Okay, let's push ourselves just a little bit. Maybe like E 35 Okay, we're close Wow, this seems very off Okay So 6.76 Uh divided by 7.29. I think it's the other way around. Yeah See what is this doing? When is this funny equation doing? So, okay You see this equation starts to fade off because our initial multiplier is 1.21. So this is clearly um fading off by a lot So How do we do this? I don't know I don't I want to make this as realistic as possible Okay, so nine times is 30. Oh, maybe it's like a square root or something. No, that wouldn't make sense No, no, no nine is not the square. Okay big brain um, okay So this definitely decays over time. So let's head back to desmos Not synergism desmos Okay, so we have our equation here Um, we need to initially start to decay this like that But it doesn't seem to go this fast Again, I don't know how fast it does So we know at nine So at nine point x We have e 30 I should do a note for this one We have at nine x We have e 30 which is 30 minus 11 which is equal to 19 Okay So we need to figure out and this growth at 19 is 107 x around that Let's see. Do we copy it? No, he didn't but it's around 1.7 x Okay, so what we can do here is find a way to get this equation to equal 1.07 at nine 19 actually So at 19 right now And we don't want this to go below one. Okay, so that's also another thing We don't want this to go below one. So we want to add one to this And so now this starts at one Can I like uh do zero point? Can I do that? Oh boy Like that Something like this right, but it eventually it but it doesn't it's not supposed to go to one. That's not my goal So at 19 so we can plug this in 19 This is yeah, see it's at one So we need to take this initial value. Okay, so this is two Yeah, this is a little tricky. This is some tricky math here. I'm gonna come I'm gonna try to figure this out I'll be right back Okay, so I kind of developed something here. I'm kind of just playing with these variables and trying to approximate where this is happening Uh, we look pretty close From what I'm observing here Again, this is not this is probably not exactly correct or how they do this I am just taking a very very good guess So you see this this like after a hundred of these Levels right or levels. What is this so x bonus after e 100 this team this seems to slow down But I'm not sure if that's like the goal So let's keep buying these and seeing where this goes So now we're gonna observe here Okay, so we have Uh, okay Cool, so let's divide these together now and see what we get Divided by what is it 18? 49 18.49 Okay, so you see it's a case a little bit, but it's not as slow as I imagine What is 18.48 I keep deleting it No 49, okay. It does not have to be exactly correct, but okay, so we have this right here So this is what it should equal at 43 So if we do 44 You see this is still a little too fast So that's kind of the a really tricky thing here is that it's slowly slowing down And I don't know what it's trying to Aim for Because honestly if I'm not a math wizard When it comes to this game So let's see 104 Let's try to have it slow down a bit So where I can write it 12.36 114.49, okay, so now let's divide these together We have this right here. So you see it slows down surely Um by quite a bit Oh, wow, look how close that is and this is like yeah, so this needs to this shouldn't be this fast Okay, and this is like one 10 ish 108. I think that's what I had it at So let's increase this By like four five three two I think that's too much. This seems like a good place to be at. Okay, so if we do this at 19 our multiplier Is slightly higher, but it's pretty close and again, we don't have to be exactly correct. That's not our goal here Just at least we have Somewhere to lead to but after a thousand, you know, it starts to you know It starts to go off So I'm this might be one of those things that I'm going to have to research on if this turns out to be complete failure And if it doesn't work, then yeah, I'm gonna have to do research because it's not this easy Okay, so let's write this all down in the equation now Come on get out of here This is tricky stuff guys Okay, so we're gonna do big double dot pow now. We can just get rid of this big double. It's just pow and this is 0.21 to the power of 0.1 15 Times plus one. Okay, so Times uh the first exponent, which is I think that's our current Yeah, that's our current right here Okay, and then we do we multiply these together like this Yep, it already does that okay cool And then we add a plus one after this whole equation and that's our base This is nuts guys And I don't even know how the the current highest thing works. I'm just gonna keep this as a plus equals for now Okay, so let's try this and see how far we can get I don't know how accurate this is going to be if it's going to be correct at all. It may still be too severe Who knows? Okay, so good it starts at zero all right one and we should see that till later on Okay Then all just looks a lot less so I might have to I think I need to apply that minus 10 Which is an explanation on why We see this huge shift maybe so let's see this 19 Because that's zero it should be here, but by that. So yeah by the time we're at 30, you know We're losing a lot of growth here So I think we just need to do minus 11 Okay, because when we're at zero We have this equation here, but at 11 it should be fine, right? Okay, so it should yeah that looks perfectly fine So we need to add minus 11 to this current here and yeah, we will have to Add some parentheses I believe I hate how this thing freaking moves around like crazy when there's an error. It's so annoying See, it's so annoying. It's just uh one of those Coding pet peeves of mine is one writer literally just does that Uh, okay, let's just buy a ton because why not? Yeah, you can see this is a lot slower now I think we're pretty close So e43 we're at 18 Uh, yeah, we're a little bit short, but we're getting closer and after we apply this This growth equation here. We should be good If it's not correct, we're gonna be fine I'm just worried about approaching to one and it not doing anything Or barely anything. That's my that's my fear right now I should add a save system for this. This is freaking annoying This is devastating. I hate having to just click all this without a buy max I either need to add a save system or a buy max one of those Or keybinds at least Okay, I don't have buy max. I keep thinking this is like the real game Cool. Okay. Now we gotta get started. Let's go to 43. Oh, wow. This is still pretty sharp I think Wow, we're we are so close. That is unbelievable. Oh wait, this is 43. Okay. So what's that 43? 22 see yeah, we we do have quite a bit of um Of a difference here, but I think in the long term it will Balance out Which is okay. I think this is fine. Honestly Also, one thing I want to do is this I want to fix this real quick because that's a little annoying to look at So I think the way to fix this is by doing num dot mantisa Now instead of doing this we need to truncate this First so I think we just do truncate Uh Big double dot truncate. I think we can just do math dot truncate here math dot truncate Frick. Yeah, I think this is what we want to do Not round Yeah Maybe I don't know I'm gonna ignore this. I'll I'll figure that out a different day, but Okay, so let's try that dim sack and see what happens Okay, so it applies the boost I believe So now this is producing nothing. Why is this 60? Okay, that's odd. This isn't producing anything now Okay, so it looks like let's see what happens when we reach the highest which I don't know what that was But let's just try it out Well, it's not helping that eight dimensions completely useless right now That's definitely not helping Okay, I see Could this be it's could this be the actual equation here? Uh Where is our game? Where is our actual game here? This just seems too severe So I think what our text is gonna display is It's gonna be adding like we are here Right, but it's gonna be displaying the difference between here and here when we're multiplying it because we are applying a boost Right, so I think we are on the right track with the equation It's doing the right thing, but it's displaying the wrong numbers Well, not really wrong numbers if this said plus 1.57x. This is completely correct, right? But that's not our goal. That's not what we're trying to do So let's fix that real quick and I think we're we're done with this this system Okay, I want to apply it. Yeah, okay So I think all we need to do is divide our current by how much we're gonna add So let's say we have 500x right and let's say we are going to add another one, right another one Uh, we flip it Right, so we do 500 plus 1 divided by 500 right? So this is our this is what we should be displaying Okay, so this is very easy to do. This is very easy to do Uh, so we grab our current boost And we divide what we're actually going to get which is this right here And then we divide by that what we currently have again. So let's Take this all in parentheses right here Boom, we're going to divide what our current, uh, dimensional boost is and Uh, how else did we do that? So we divide all of this and we also add Uh, our boost here, right? Do we need parentheses there? Yeah, it looks like we do. Okay, so this is pretty lengthy. I know it's really messy But what we're trying to do here Is here let me bring this down real quick Okay, so what we're trying to do here is We have our equation here We add our current boost and we divide it by what we already have now because we're trying to find the change in our boost, right? Because this should be a lot lower though. This is looking pretty good so far, but it should be much lower So I think after this change we should be safe and we can finally call it a day This is fun stuff, but holy cow. It can be stressful Okay, so our current boost is one We're doing right right now. We're doing one plus one divided by One which is two So how do we fix this? Well, we subtract one from this boost, right? Okay, so all we gotta do is subtract one and we don't even need parentheses here. I think Oh, it looks like we do. Do we need parentheses around this? Okay, so we don't need this here Holy cow. This is so lengthy Okay, so we can delete some parentheses here One two one two Okay, I want to make sure this is dividing this entire thing right here because I feel like it's a knot There we go And I was like, why is it not doing anything? Okay, so we have our equation Hopefully this minus one will solve it Okay, so we're back here. It looks like equation is looking good so far I'm just hoping it will display the right Uh number so we'll know once we see the 1.21 Okay So let's get this started Yeah So let's just get a bunch of these record our highest E 20 e 30. Okay, let's sacrifice now 32 This is the right dimension is still not doing anything. Frick. I forgot about that Okay, well, that's not good That means this is gonna be a little harder To get back to but I want to at least see if this whole thing turned out good or not Yeah, I think this I think this is good Yep Cool, so we have our dimensional sacrifice done, but I don't know why eight dimension is not working So we can close all of this even we can just get this uh boost right here going So our shift boost is multiplied by our uh dimensional sacrifice Which is Okay, so we have 30. Why is it not multiplying? Okay, so I'm gonna multiply So 256 times 1.19 that should be 4a 8 That's less Oh, wait a minute. Oh, I forgot we're applying to our current boost. Okay, never mind then Oh, I think we're still adding right Yeah, so we're gonna multiply here. Okay. I see what we did wrong here. We need to multiply this still Okay, so I don't I I don't I still don't understand why this is incorrect Why it's not doing anything Oh, I think it's because we never Why did I subtract this? I don't know Okay, I think I see here we need to expand this By one and I think that's all you need to do Let's try it Okay, I'm hoping this worked. I hope opening this is my last time I got a mess with this stuff I'm always coming in like oh, this shouldn't be this shouldn't be hard at all I'm wrong every time Also, I don't think my tix speed resets as well I I believe that's how this works Yeah, so we need to reset tix speed on our shift tube before I forget that and I don't need to test that clarity know it works So we need to do our shift reset and we do data dot tix speed levels equals zero Yep. Okay. That's all we need to do. Okay. Let's test this Cool. So now it's working Okay, let's try it again Scary moment Okay, so let's sacrifice and it should start producing Yes awesome Damn that's slow. It's a slow start This is where by max would become really useful right now. Cool. We just need to catch up I could do a sacrifice right now. I don't know why this is rounding like this. It's really awkward to look at I don't know why it's doing that. It's whatever. It's not a big deal Oh, look at that. That is so satisfying, but it's not multiplying our boost here. Why is it not doing it? Oh, it's making me so mad. Let's try to get this back up again Okay, so four times this should multiply by four It still is ends, but whatever At least the the dimsack works Is this multiplying the cost? Is that really what's happening here? Is that why because like why is the cost 340? I don't okay. Maybe that's it I'd be confused, but Okay, so let's see this 210. I don't know why the cost is extremely high. It's very weird Oh, it's because we have 330. Okay, that makes sense now So nothing is changing here at all. I don't know why it's a little annoying But I do believe the boost is still here somewhere. So our dimension shift boost right here So if i is equal to seven Which we eventually hit We multiply dimension shift boost by the deck the sacrifice boost Okay, so I think this might be the issue here is that we're bringing this boost to the wrong place I don't know why it wouldn't be working here All right here, but I'm gonna give this a try Uh, we're just gonna multiply this this boosting here Where we do a question mark operator And I'm not gonna test this because that's uh time-consuming actually, you know what fine. We'll do it So if i is equal to seven Question mark. Uh, this is id So we multiply this by Um, if it's equal to seven Uh, let's check. Do I actually like do this? Id minus one So we do i yeah, okay From zero to eight So if i is equal to seven Then we do game data Dot dimensional sacrifice boost. Otherwise we do one. Okay, cool Let's give this a shot. I'm curious on why not it's not showing up. I also need to do this text I'm gonna eventually forget about it, but it's not important. I just want to get the gameplay done I want to at least get galaxies done and infinity if we can get infinity that would be awesome Holy cow Oh I want this to be a noticeable boost like we can obviously see it's happening So you see this is producing around One e maybe two e two per second. Okay Let's buy max this. Let's see. I want to make this go faster Okay, so it's producing about one e seven per second Done So it looks like it's still producing the same amount. So Okay, well, we can only check for this In okay, so we have our highest right here Our dimensional sacrifice boost seems like it's unaffected That's not good. That's probably the reason why this whole thing is not working Okay, so I see we have to multiply the boost before we set the highest, right? Okay, so now let's try one more time Uh, why is our boost going down? Hello Our boost is going down What the um Our boost is literally going down What Okay, I'm gonna have to check that out. That is um That is crazy. Why is it going down? I've What There's probably something wrong. I did in the equation here So I'll take a look off of it off video and I'll like make changes accordingly But let's try this out. See if this works. So this should be like e seven Yeah, that's better Also, before I forget, I just wanted to point out that the reason why this wasn't working is because I was dividing by the current boost, right? So that's not the right thing to do What we want to do instead is multiply by this equation right here And remember when I said that let's say your current boost is 500, right? And Uh, we want to get one more we're dividing. Oh wait a minute All right, so I'm not very happy with myself. I had to look up the equation. Okay. I just had to And it's actually surprisingly a lot different than I was expecting. So basically It's uh, we can ignore this max honestly. I actually let's see what happens if we do without it Uh, yeah, so basically we just don't have any negative variables and we could just do Basically, this is just an absolute That's the same thing actually no, that's not Basically, we just won't get anything past or below zero Or below one. I think yeah below one And it's actually like a kind of like a looks like parabolic. Wow Now a little surprised by the actual formation of this but you could see how I was somewhat close But the reason why I was going negative is because my equation did this now I do not know why it happened nor that I really want to find out All I know is that this is the equation. So basically it's floor log base 10 And also this is um grabbed in 10 to the x So basically I'm showing like that this is like exponents because you could see it stops at 308 right here Because that's their limits. So this is the graph right here and Yes, I'll be using this. I'm really upset that I couldn't figure it out, but it's okay I don't think I was ever going to anyways So let's replace it And yeah, so also what's cool is that in the Where did the article go? I just had it pulled up, but it did say that was calculated based on the highest The amount of dimensions Sacrificed and we used floor so that would solve our problem We can also use the exponent too that works. You just as fine Like if I do this see it works. You just fine. It's just that Um Yeah, we do need floor never mind ignore what I'm just saying right now. Let's just get off with it So Here let's split this up here Okay So let's get rid of this. We don't yeah, we can just do current minus highest Okay, I pulled it up. So this is what is this and is the total amount of first dimensions Sacrificed. Okay. So this is like the actual boost, right? So It looks like it doesn't provide the equation for what boost we're getting that's okay We don't need that because we already somewhat do that in here So we can just get rid of this in here and do max comma one and in here we're going to do an equation for floor Uh log base 10 Okay, and this is going to be our data dots highest first dimensions in here Uh, that's it. We also need to divide all of this by 10 And We need to do Uh To the power of two we needed to we needed the Yeah, we need to do all this to the power of two. Okay, and it should work now. Also, we have some errors here We need to add back our parentheses there. Okay, that should work Should I test one more time? Why not? Everything seemed to decay eventually. So I didn't want that I wanted uh, I wanted something actually working I didn't want to deal with that really messy equation because I feel like that would screw everything up in the future So it's better to be safe than sorry If heavy if you're watching I'm sorry if I disappointed you I broke my first promise not to look up any equations or anything and I already broke that rule I should be punished Ah equations not working. Okay. That's not good Shoot, okay Well Why it looks like we already have a boost applied Why is that did I ever did I even like quit out of the game? I don't even know what happened there Uh Okay, well, this is great. Our boost is not even working now Honestly, we don't even need this max, right We don't need it Uh, also this this highest this should be our current. So this is our dimension count, which is explains why it's not working Okay, so one last time Okay, cool. So our equation is going great And it should decay perfectly as we predicted it should be around 18.46 when we hit e 44 Looks like it will be beautiful All right, we got the equation working and I'm sorry. I wish I made the equation but I'm not that smart. So it's okay Alrighty we fixed it Okay, anyways, sorry for the really long video. I I thought those would be a lot shorter, but This is definitely an interesting one. So make sure you smash the like button Smash it a lot. Tell you all your friends Tell people about this amazing series. Share the news I am doing my best in this series if you enjoyed it So yeah, make sure you smash the like button share with your friends if you like Subscribe to my channel if you're new turn on those notifications so you get notified for every stream and video Comment all your suggestions feedback and any of all that good stuff below And check out my other videos in the top right corner. Anyway, thank you guys for watching. I'll see you the next one. Peace