I like the new combo handling. It's working a lot better than what I had thrown together, but I do have two fringe questions that might be worth looking into:
- when a monster has one regular drop and one pickpocket-only drop, after a successful rave pickpocket of the regular drop, the script follows it up with rave concentration, but this does not accomplish anything (for example, on hellions). Does item_drops() include pickpocket-only items, or is this because the hellion cube drop rate was less than 100% and it did not recognize the rave pickpocket success?
- when a monster has one regular drop only, and its drop rate is 100%, the script will attempt to rave pickpocket before completing the combat (for example, on bookbats), but it would have dropped anyway.
I think considering the binary condition of are-there-any-less-than-100%-drops-or-not when deciding whether to cast rave pickpocket might be a worthwhile addition. Perhaps this is also relevant with the first and second regular pickpocket attempts. I suppose this is similar to what is being done for the cost-benefit analysis of the concentration combos. Being able to bypass the 4-5 rounds being used on two pickpockets and the pickpocket combo when logically applicable seems like it would be helpful in time and resource conservation. I assume that the script is not intended to be used to "detect successful pickpocket and run away", which would no longer be possible with this proposal (because it would not pickpocket when the monster can just be killed to get all of its drops).
I think what you might also want is:
Code:
Your savage beatdown seems to have knocked loose some treasure. Sweet!
You acquire an item: tattered scrap of paper
... for addition into the pickpocket detection section of zlib.
Well, perhaps I am off the mark entirely. Thank you for the quality script, in any event.