Coh3n
2010-10-06 20:06:22
Magic has been in the works in MSI for quite some time now, and there are a lot of useful functions in SRL's Magic.scar that we would like to utilize. Since all the attributes of TSpell are set in SetupSpells it's inconvenient for us to use a different type.
Before someone says, "Why should we change SRL just for MSI?". Well, this is only one example, I'm sure we wouldn't be the only ones to use it. It only makes sense to me that along with the Level, Exp, Name, etc., comes the required runes to cast the spell.
Thoughts?
Before someone says, "Why should we change SRL just for MSI?". Well, this is only one example, I'm sure we wouldn't be the only ones to use it. It only makes sense to me that along with the Level, Exp, Name, etc., comes the required runes to cast the spell.
const
rune_Count = 12;
rune_Air = 0;
rune_Body = 1;
// And so on...
type
TSpell = record
// Blah blah
RequiredRunes: array[0..RUNE_COUNT - 1] or Integer;
There may be an easier way to do it, that's just what I thought of.Thoughts?