Kaldonis
12-13-2012, 12:56 PM
New to lich scripting (and mostly Ruby, too). I'm pretty good with bash scripting, C++, and some others.
Anyway, was hunting last week, and my partner died, and later complained I needed an "unstunning" script. So that was a jump kick concept to get my hands dirty.
I have a prototype, and I'm looking to expand it. The question is, does something like this exist? If it does, I might finish up my version for myself and consider it the useful learning experience it was.
If there isn't, let me give an overview of what I'm working on, and what general expansion I'm considering, and let me know if it sounds useful, or ideas that seem missing.
As a hunting script, it looks for incurred stuns of that nature (rather than constantly checking PC status). Then it checks the status of each PC in the room until it finds one who is stunned. Next is a check of if you know the unstun spell and have the mana (check your status, and cast when you can), or don't know the spell and/or don't have the mana, to look for an oaken wand, check a configuration if there is no open hand to determine how to free a hand, free a hand, get & wave the wand, put it away, and get any item back in said hand. (An MIU check might also be good here.)
The expansions can go to web and players knocked prone, at least. Dispel the web, pull to feet, drag, etc is what I had in mind. Drag could also be a last option for the unstun version. Considering a player array to not include, for example your warrior friend who can use berserk.
I am sure such a script is useful, so the question is if something of the like exists, and what something of this nature ought to encompass.
Let me know....
~daid (player of Kaldonis)
Anyway, was hunting last week, and my partner died, and later complained I needed an "unstunning" script. So that was a jump kick concept to get my hands dirty.
I have a prototype, and I'm looking to expand it. The question is, does something like this exist? If it does, I might finish up my version for myself and consider it the useful learning experience it was.
If there isn't, let me give an overview of what I'm working on, and what general expansion I'm considering, and let me know if it sounds useful, or ideas that seem missing.
As a hunting script, it looks for incurred stuns of that nature (rather than constantly checking PC status). Then it checks the status of each PC in the room until it finds one who is stunned. Next is a check of if you know the unstun spell and have the mana (check your status, and cast when you can), or don't know the spell and/or don't have the mana, to look for an oaken wand, check a configuration if there is no open hand to determine how to free a hand, free a hand, get & wave the wand, put it away, and get any item back in said hand. (An MIU check might also be good here.)
The expansions can go to web and players knocked prone, at least. Dispel the web, pull to feet, drag, etc is what I had in mind. Drag could also be a last option for the unstun version. Considering a player array to not include, for example your warrior friend who can use berserk.
I am sure such a script is useful, so the question is if something of the like exists, and what something of this nature ought to encompass.
Let me know....
~daid (player of Kaldonis)