/
lib/banish/
lib/d/
lib/doc/
lib/doc/domains/
lib/doc/efun/
lib/doc/examples/
lib/doc/examples/armour/
lib/doc/examples/contain/
lib/doc/examples/food/
lib/doc/examples/magic/
lib/doc/examples/monster/
lib/doc/examples/room/
lib/doc/examples/weapons/
lib/function/
lib/include/
lib/include/fn_specs/
lib/include/skills/
lib/info/
lib/inherit/base/
lib/log/
lib/manuals/312/
lib/news/
lib/obj/party/
lib/objects/components/
lib/open/
lib/open/library/
lib/open/party/
lib/players/
lib/players/zilanthius/
lib/room/
lib/room/city/arena/
lib/room/city/creator/
lib/room/city/garden/monst/
lib/room/city/obj/
lib/room/city/shop/
lib/room/death/
lib/room/registry/
lib/secure/
lib/secure/UDP_CMD_DIR/
lib/skills/
lib/skills/fighter/
lib/skills/thief/
lib/usr/
lib/usr/creators/
lib/usr/players/
/* Shooting Star spell by Scott English (MOC) 27 Jan 1994 */
/* All parts of this code remain public domain at all times */

#define NAME "@@query_name:$this_player()$@@"
#define TARG "@@query_name:$this_object()$@@"
#define SEXS "@@query_possesive:$this_player()$@@"

status shooting(string targ, mixed alt_type) {
   int dam;

   if(!targ || !(targ == "stars" || sscanf(targ,"stars %s", targ))) {
     notify_fail("shooting stars?\n");
     return 0;
   }
   if(targ == "stars") targ = 0;
   if (!alt_type) alt_type = "conjuration";
   dam = (objectp(alt_type))
       ? (int)alt_type->query_cast_level()
       : (int)call_other(this_player(),"query"+alt_type);
   dam *= (random(6)+1);
   if(dam > 72) dam=72;

   this_player()->load_spell(({
   "target", targ,
   "name",  "Shooting Stars",
   "sphere", alt_type,
   "cost", 13,
   "damage", dam,
   "level", 13,
   "cast time", 2,
   "msg target", "Glowing rocks with flaming tails strike you from\n"+
                 "above!\n",
   "msg room", "Glowing rocks with flaming tails plummet to the ground\n"+
               "all around you!\n",
   "msg caster", "Your conjured shooting stars plummet to the ground\n"+
                 "all around you.\n",
   "casting msg", "You hold your rock aloft to the sky and begin\n"+
                  "chanting.\n",
                  "You crush the rock into smaller pieces and hurl it\n"+
                  "into the air.\n",
   "casting msg room", NAME+" takes a rock and holds it aloft.\n",
                       NAME+" crushes a rock into smaller pieces and\n"+
                       "hurls them into the air!\n",
   "component", "rock#stone#boulder",
   }));
   return 1;
}




/* Native Mode Move */

#include <move.h>