efilnikufecin
Member
Returns the number of adventures obtained by using a skill, fits in with CostToCast
This script returns 0 if you pass it a non buff skill
This script returns 0 for the smiles of Mr. A, because you can't cast that one on yourself.
If you try to read this I hope you have a really wide screen monitor
This scriptlet is a whopping 8 lines long, but 858 characters wide. (Turn word wrap on and it gets even more confusing to me.) Also if there is a typo, it's gonna be a fun one to find.
Ultimately this Function, CostToCast, CanGalaktik, and Presto Ragu's Restorer Selector (possibly modified some) will all be used by 1 function in a script that will deal with self buffing not knowing what buff it is dealing with. The buff will be passed to it in a variable along with how many adventures of the buff is needed. Once finished, it will be ported into the script I posted under the title "This One Falls under several categories".
This script returns 0 if you pass it a non buff skill
This script returns 0 for the smiles of Mr. A, because you can't cast that one on yourself.
If you try to read this I hope you have a really wide screen monitor

Ultimately this Function, CostToCast, CanGalaktik, and Presto Ragu's Restorer Selector (possibly modified some) will all be used by 1 function in a script that will deal with self buffing not knowing what buff it is dealing with. The buff will be passed to it in a variable along with how many adventures of the buff is needed. Once finished, it will be ported into the script I posted under the title "This One Falls under several categories".