I noticed when I looked through my Area Editor at my spells, none of them have a blindness flag on them, yet when I do something like "slookup Sanctuary" on my mud it reads as followed:
Sn: 135 Slot: 36 Spell: 'sanctuary '
DamType: none ActType: destroy ClassType: life PowerType: none
Saves: none SaveEffect: none
Type: Spell Target: defensive Minpos: 12 Mana: 75 Beats: 12 Range: 0
Flags: 0 Guild: -1 Value: 0 Info: 336 Code: spell_smaug
Sectors Allowed: All
Dammsg:
Wearoff: The luminous aura about your body fades away.
Affect 1 modifies affected by 'sanctuary' and applies blind for '(l*4)+30' rounds
Hitchar : A luminous aura spreads slowly over $N's body.
Hitvict : A luminous aura spreads slowly over your body.
Hitroom : A luminous aura spreads slowly over $N's body.
--------------------------[CLASS USE]-----------------------
not sure why it reads that on the mud and not the area editor.
-Alexander
It's always good to know how far you are willing to go to be the best...
i have also recopied spells.dat from the original distro, and it has not helped.
when i look at skills.dat using 'edit skills' in the Area Editor, i see that 'dragon wit' has flags set to -1, and it's causing blindness. 'sanctuary' has flags set to 7, and the text of the effect is 'blind invisible detect_evil', but it's not making the victim invisible.
Are you using an offline editor to edit your spells and such. I had a similar problem some time back and found out that the area editor i was using was adding a -1 flags to the affects and as such would cast blindness. Offline editor maybe adding the same type of affect as nick describes.
some spells, such as "sanctuary" and "dragon's wit" are causing blindness to the victim, even though the text that is outputted is the proper one for the spell.
I've been stepping through the code for hours and cannot find the point where it causes blindess (thou i think it is in the affect function). the sn is correct the entire time i'm stepping through the code. it's very weird.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.