Re: Time specific spells

From: Mikael Andersson (
Date: 05/01/03

>>I thank you for the quick response but would also like to know where >>to
>>put the code...

>I was wondering how you can make a spell work only during specific hours
>in rooms with specific roomflags. I was hoping to make an invisibility
>that only works at night and in dark rooms.
>Try to take a look at this variable
>Declare this in the top of the file.
>extern struct time_info_data time_info;
>and use this to return the hour of the day.
>it And for the dark room
>         // Do your magic here :)
>This should do what your are asking for.

The new MSN 8: smart spam protection and 2 months FREE*

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/26/03 PDT