obj/proc/do_spell(obj/spell, target)
{
if (!istype(target, spell.V1))
{
usr << "Invalid target. You may only target a [spell.V1] with this spell."
return 0
}
for (x=1, x
Yes, I realize the len assignment in the obj is redundant, but flat out assigning values to the list index produced errors at runtime.
Any thoughts?
-James
Which line is giving you the error?
If the line is not reported when you compile, then you should turn on extra debugging info, which you do like so:
#define DEBUG
Knowing the line will make all the difference.