Jump to content

SetupWish


Recommended Posts

The current IESDP entry for SetupWish reads:

 

This action instructs the engine to use the fourth column of wish.2da and carry out a RandomNum(2,1) action starting at the top and working down. If the RandomNum returns with a 1 then the appropriate global for that spell is set. Once the maximum "wish choices" have been selected, the dialog continues and casts the selected spell.

 

Setting aside that the 'fourth column' should be 'designated column', there are further errors. A user over on the Beamdog forums set up a program to track results from 30,000 castings of Wish. If the current entry were accurate, we'd see the first five entries around 50% with the remainder dropping off as the engine progressed further down the list. Instead, we see that each entry has a roughly equal chance of being selected. This suggests that five entries, selected at equal weight, are pulled from the appropriate column in wish.2da and that there is no parse order.

Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...