@Mind Storm 101:
Quote: "
and its proven to be a pain if i plan to expand
"
It's not a pain if you create an expandable structure
All spells under X4E will be launched using simple command :
SPELL_INDEX = Cast A Spell SPELL , FIRSTOBJECT , SECONDOBJECT , CAMERACONTROL , CUSTOM
SPELL_INDEX -> final spell number ( 1 - 16 spells can run at the same time )
SPELL -> the spell fx itself
FIRSTOBJECT -> used to define player on other player for buffs for example
SECONDOBJECT -> used to define the object for monsters that will be affected by spell
CAMERACONTROL -> -1 = force no camera control / 0+ = camera number is spell can control camera
CUSTOM -> Custom texture for spell ( 0 = Default , 1 = Wind , 2 = Earth , 3 = Water , 4 = Fire )
so new spell can be added easily to the DLL and launched using the same way