Actually, I had the same thoughts when I first went sifting through the VZTZ source for the code. Spells.cpp and spell_effects.cpp seemed the most likely candidates, but I didn't find any of the code there. Since I'm still new to this, all I know is what I can learn to do by example, really, and I'm only building off of what was already in place. It's daunting enough stepping into this sandbox where I know there are coders who are very concerned about structuring everything properly, I guess I picked a bad example to start from, then =X
I'll see if I can figure out what you mean about putting them in the parent object. I noticed a lot of the other code was structured that same way, but I was a little too afraid to jump in and try it that way. Thanks for the tips!
|