From: Mark Gerritsen (m.p.h.gerritsen@STUDENT.UTWENTE.NL)
Date: 05/06/98


I'm working on a 'fly' spell, and I made the spell like normal, with
AFF_FLY. Then I made a preference flag PRF_FLY, to enable players to stand
(not fly) even if they have the ability to fly, and choose to fly again
later (for as long as the spell lasts)

I forgot that technically, mobs don't have the PRF flags, since it is
stored in char_data.player_specials.pref, which in structs.h is defined as
"PC only", sort of... it seems to work fine, using PRF_FLAGGED for mobs,

Is it a bad thing to use these flags for mobs? Is there a "neater" way to
do what I'm doing? Any help will be greatly appreciated.

Havoc of Dagmarck (Mark Gerritsen)

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |

This archive was generated by hypermail 2b30 : 12/15/00 PST