Quantcast LoTROInterface - View Single Post - LoTRO Lua noob's wish list
View Single Post
Unread 12-10-2011, 10:31 AM
dhmitchell23's Avatar
dhmitchell23 dhmitchell23 is offline
The Wary
Join Date: Sep 2011
Location: Boston
Posts: 3
Send a message via Yahoo to dhmitchell23 Send a message via Skype™ to dhmitchell23
Thanks and more desires

Thank you everyone for replying. I have my morale watcher with varying alpha working fine now and showing deepening and enlarging alarms when death approaches :-)

Now I want to pop up a pot, jewel, or skill to mitigate the morale drop. To do so, I need not just the class of the item, but also its effects (+n dimension1) and current cooldown state. As far as I can tell, the system requires me to hardcode the name of each possibly useful item and seeing if the user has it rather than scanning the user's items and picking the one that gives max morale or in-combat morale generation. I also don't see anyway to find out whether the item's currently in cooldown. Did I miss something?

Also, how do I scan the user's clothing & skills programmatically? I don't see an analog to GetBackpack()
Ancient coder, strong in algorithms, weak in art, inquisitive.
My LoTRO sig
Reply With Quote