act_wiz.c

dream/act_wiz.c · 383 B

From the archive mysqldream.tar.gz

Download the archive   « Back to the archive contents

for set <char>

+    if (!str_cmp(arg2, "dream"))
+     {
+         if (value < 0 || value > 1)
+         {
+              send_to_char("Invalid type: 0 for normal, 1 for nightmare.\n\r", ch);
+              return;
+         }
+         if (!IS_NPC(victim))
+         {
+             victim->dream[DREAM_TYPE] = value;  
+             return;
+         }
+         return;
+     } 

Site Stats

Snippets: 1791
Codebases: 571