Re: [DG SCRIPTS] Need soem help with a script.

From: Christopher Avans (parka@CDC.NET)
Date: 08/10/98


On Mon, 10 Aug 1998, Ryan LeGros wrote:

> Hello all,
>
> Im trying to make a DG Script to cause a mob to cast various spells.
> heres what I have currently:
>
> Trigger Name: Forsaken Entity Fight Trigger
> Intended for: Mobiles
> Trigger Type: Fight
> Numberic Arg: 100
> Arguments: (null)
> Commands:
>
> if rand(15)
> shout Leave me ALONE!
> c 'shocking grasp'
> c 'fireball'
> c 'energy drain'
> c 'damnation'
> c 'lightning bolt'
> else
> if rand(20)
> c 'flamestrike'
> c 'stone'
> c 'chill touch'
> c 'color spray'
> kick
> else
> if rand(30)
> c 'burning hands'
> c 'detonate'
> cackle
> c 'heal'
> c 'heal'
> else
> c 'fireball'
> endif
> endif
> endif
> end
>
>
> Now, there are no reported errors in the scripting, however when I test
> the mob, all it ever uses is the 'if rand(15)' group. and it never
> advances beyond that. Can anyone help? I'm using PL3 for DG Scripts I
> believe.
>
> Cheers,
>
> Brigand
>

you have to give it a target cast 'heal' %actor% and first have to work on
do_cast to alkow mobs to cast



> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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