I'd like to open a discussion on what names/types of spell scripting we are going to need to handle every kind of spell/ability in the game. I do not mean the difference between slash and crush damage, but the difference between damage and heal, or buff and nuke, etc.
I am envisioning there being a small number of scripts (maybe a dozen or so) that are written in a way that can handle all our castings. I do not see us creating one script for every spell/ability name - do you?
Take the "Sprint.lua" as an example - because that is what it was, just an example. I do not believe it needs to be named that, but could instead be Speed.lua so it can also process any other movement enhancement/detriments as well. Not that I do not like Sprint.lua.
So what I am thinking is, what else do we need? Direct Heals, Heal or Damage-over-time, Self/Group Buffs? I'd like to create a list of "generic" LUA script names that will handle all spell/ability processing, and get them written so we can start shoving spell_data through them. Specialty scripts can be created where generic or general is simply not enough.
My ideas (please correct me if I don't get it):
Heals.lua - process direct heals
HoTs.lua - process heal over time
Damage.lua - process direct damage
DoTs.lua - process damage over time
Buffs.lua - process personal buffs
Debuffs.lua - process personal debuffs
GroupBuffs.lua - process group/raid/NPC debuffs
GroupDebuffs.lua - process group/raid/NPC debuffs
Any others? Are these too many already? Let's design.