Re: three part question about summoning spells

From: Mike Breuer (mbreuer@new.rr.com)
Date: 04/05/01


----- Original Message -----
From: "Alex Mann" <alex4501@HOTMAIL.COM>
Sent: Thursday, April 05, 2001 11:43 AM


> part1:
>
> ...Is there something i can add to magic.c in the
> summoning spells section, which counts the number of followers a player
has
> and fails the spell if they have too many, this would idealy be be
> incremently based on the casters level and maybe a random element.

I think you would need to code that manually (ie, a manual spell).  See the
answer to part 3 for more tips.

>
>
> part2:
>
> ...Is there something which can be added to order, so that you could
> do order whirlwind kill rat, then order whirlwind 2 kill rat
> so both summoned whirlwinds will attack the rat. I have ideas involving

Have you tried: order 2.whirlwind kill rat?


> part3:
>
> Whats the best way to go about adding a countdown timer to summoned npc's
> and then remove them when the timer reaches 0.

The best way would be to add an AFF_WHIRLWIND (or some such affect), and set
the duration when the spell is cast.  Take a look at the charm spell, which
is quite similar to what you are looking for.  You could also test for this
affect when you are searching through the caster's followers to limit the
number of whirlwinds.  That way players are not penalized for having human
followers.

Mike

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST