Talk:Wish/@comment-2.10.128.52-20181011015648/@comment-2.10.128.52-20181011021749

Anyone curious can try out this item made to test the Wish spell. Just drop the two files in the game's override folder and load a game, then use the console like so: CLUAConsole:CreateItem('CUSTOM')

Tested on vanilla BG2:TOB (not Enhanced Edition). The item image may not work because I set it to a bracelet found in the Imoen Romance mod. Not sure if that will break your game or not. Use NearInfinity to fix the image or install Imoen Romance, if that doesn't work.

The bracelet reduces all casting time to 0, gives 12 spell slots for all levels, puts the user in permanent alacrity, sets wisdom to 18 and creates an innate ability that allows the user to cast infinite amount of wishes. (Within summoned creature limits)

I got 11 Rest out of 50 Wishes, but I'm not sure it's valid because the randomness looked odd, making me suspicious about the random number generator's seed and the fact that I chain casted wishes.

I'd rather find out odds of getting Rest directly by looking at the code, but I don't know where or how to read the content of the SetupWish(4,1) function that's called at 18 Wisdom.