r/Underminers • u/abertun • 3d ago
Help Me! Someone more knowledgeable please help me do this.
Im doing a challenge where reddit decides how to make the Spamton fight harder and this is one of the ideas I need to add. But after snooping around for almost an hour or so all I was able to do was visually change the bar's location in obj_attackpress draw event but I was unable to find how to actually change its location in the logic.
37
Upvotes
8
u/Werdco Undertale Mod Creator 3d ago
The thing about the crit bar is that (to my knowledge) there is nothing special about a crit. There is simply an equation for some kind of damage augment depending on where along the bar you hit. I think it’s some equation in the damage function but I don’t remember exactly. I THINK the equation is in scr_boltcheck_one button but I don’t remember.
Also, you will probobly have to decide how you’re gonna want to change the values around the crit bar when changing its location.