by Macnair » Tue Mar 07, 2006 7:35 am
OK, maybe that's the reason it currently works that way. Maybe they saw the potential problem and they didn't want to do the work needed to make Gift of Mana still work as advertised in this kind of situation. Or maybe they didn't consider this possibility.
But.
Gift of Mana says "Next spell for the cost of 1 mana." It doesn't say "Next spell for the cost of 1 mana, unless you are already low on mana, in which case if you wouldn't have had enough mana to cast whatever spell you want to do next, too bad, you can't cast it for 1 mana."
The solution you suggest would be one way of doing it: the game knows how long Gift of Mana has to run (doesn't actually have to calculate this number, it is already keeping track of it), the game knows how long it takes to cast the spell you have pressed, it compares the two, and decides whether or not you can proceed.
It could also work to check for mana and Gift of Mana at the end of the spell casting, and fail the cast at the end of the cast time if you have insufficient mana and GoM has faded.
It could also work to check for Gift of Mana at the beginning of the cast, and if GoM fades before the end of the cast, you succeed and cast your spell for the cost of 1 mana, with a 2 second hidden bonus on GoM.
It could also work to check for Gift of Mana at the beginning of the cast, and if GoM fades before the end of the cast, you succeed and cast your spell for the cost of all your remaining mana.
So there are at least four different ways this could be fixed, and none of them is hard.