Enchanted Shrines
#7
Quote:Kp' date='Apr 19 2009, 11:20 PM' post='165856']
Without checking my notes, a quick re-read of the shrine code seems to suggest that it starts off by checking if you know at least 2 spells. If you don't, it skips the whole process. It's worth noting that if you learn a spell, have it reduced to level 0 by a shrine, and then hit another enchanted shrine, it is "known" for the purpose of this test, even though you cannot cast a level 0 spell.

Yes, the check for at least 2 known spells exists. No idea why I don't have that info in my Guide. I guess it is in part due to the shrine and its effect being well known and no real issue, problems or side effects existing as far as anyone could tell. No unknowns so to speak. I have focused on code that could answer such unknown issues. In the enchanted shrine code, my only notes was about the randomp pick of the spell to reduce as part of the general seed bug.

And yes, "known spell" is not the same as a spell above level 1. This should mean (without checking too much code again) that the spell picked to decrease by one (technically first raised by 1 with all other spells and then reduced by 2) can in fact be one that is at level 0 and will thus remain at level 0.

There are three types of people in the world. Those who can count and those who can't.
Reply


Messages In This Thread
Enchanted Shrines - by weakwarrior - 04-17-2009, 03:50 AM
Enchanted Shrines - by Nystul - 04-17-2009, 07:30 AM
Enchanted Shrines - by weakwarrior - 04-17-2009, 11:54 AM
Enchanted Shrines - by Galbraith - 04-18-2009, 11:27 AM
Enchanted Shrines - by weakwarrior - 04-18-2009, 04:13 PM
Enchanted Shrines - by [vL]Kp - 04-19-2009, 09:20 PM
Enchanted Shrines - by Jarulf - 04-22-2009, 09:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)