Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-11-06, 07:28 PM   #1
elviso
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 17
New addon pseudocode - need feedback please

Greetings all,

Some priests in my guild know that I'm handy with scripting, but I've never actually coded any addons from scratch, so what they're requesting of me is quite the chore. I've got some pseudocode drawn up, and I'll be the 1st to admit that it's ugly, nasty, terrible, has gaping holes in the logic, and is pretty much just bad....however....if any of you wouldn't mind taking a look at it, and posting any relevant feedback, I'd love to hear it. Hopefully you can read my half-pseudo, half-lua mess:

http://wow.pastebin.com/654829

The jist of it is, "Automagically finds a PI target, i.e. either a warlock or mage, with mana > x, in-range, in-raid or in-party, and able to cast (not seduced, etc). Has a favorites list and a skip list."

EDIT: the favorite & skip lists (tables) are going to be saved in saved vars, sorry if that's not evident in the pseudocode.
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » New addon pseudocode - need feedback please


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off