Multiple issues with the Undo Function

ItzSalah·6/23/2015, 7:35:47 AM·1 votes·608 views

The Undo function in the shop is actually at problem with a small and a really huge issue. For the small one, I realized that when ever you undo an item while regaining your HP, the undo function will put you back to the previous amount of HP you had which could lead to a minor waste of time. For the big one, I will give an example to make it simple to understand, I bought an Item X with Ahri, I get hit by some sort of projectile in the base such as Ezreal's ultimate then I purchase an item let's call it Y. When I will try to undo my previous items the game would only allow me the undo the Y but I would have to keep the X unable to give it back for full value.

Ahri <3 <3 <3

4 Comments

Deep Terror Nami6/23/2015, 7:39:08 AM1 votes

Riot Afic

Thanks for this report!

Although this isn't ideal, it is actually intended.

Gonna go into waaaay too much detail, but if you are curious read on! The first reason it was implemented this way is to prevent players from buying/undoing item buys to heal faster. The way it works, is when you buy an item with health, the game will increase your max health, and then on the next tick heals you for an amount equal to the amount of health you gained. The obvious solution is then on item undo, also reduce your current health by the amount of health the item had. The problem with this solution is with the old item Spirit of the Ancient Golem (which gave you more health based on a % of your current max health). This made it so the amount of health an item gave wasn't always the same, and ultimately the current implementation is a result of that. We could probably address this (there are likely other abuse cases I am missing) but there is also a possibility we introduce another item with a similar effect, in which case this bug will return.

TL;DR the game will remember your health when you buy an item, and revert to that value after an undo.

Again, this isn't ideal, but I hope it at least gives some insight into why it is this way.

Hope this helps!