Hi all -
How do I control what spells a magic using MOB casts in battle? Do they just randomly choose spells from the guild you make them? Do I need to use fight progs? Can I program them to target certain people rather than just the one who attacks? Or to use area spells against a group and individual spells against a lone person? Different spells VS warriors and different spells VS mages etc...
Thanks in advance
-S
How do spellcasting MOBs choose spells
-
- Sword Grand Master
- Posts: 4708
- Joined: Tue Jul 15, 2003 9:26 pm
- Location: House of Wonder, Waterdeep
If your mob does not have any fight_prog, it will fight using the normal skills for a mob of its class. For spellcasters though, that means that they will cast spells only from time to time, that is, next to never in comparison with a PC spellcaster.
If you want to have more control on the fight procedure, you have to add a fight_prog specifying exactly what the mob is going to do. In such a program, you can have the mob react differently according to its opponent's class, you can have it cast specific spells, and/or target other people than their main opponent.
If you want to have more control on the fight procedure, you have to add a fight_prog specifying exactly what the mob is going to do. In such a program, you can have the mob react differently according to its opponent's class, you can have it cast specific spells, and/or target other people than their main opponent.
Has anyone written any large yet easily modifiable fight programs "per class"? (ie A generic prog that we can use to simulate some type of intelligence)Dalvyn wrote:If your mob does not have any fight_prog, it will fight using the normal skills for a mob of its class. For spellcasters though, that means that they will cast spells only from time to time, that is, next to never in comparison with a PC spellcaster.
If you want to have more control on the fight procedure, you have to add a fight_prog specifying exactly what the mob is going to do. In such a program, you can have the mob react differently according to its opponent's class, you can have it cast specific spells, and/or target other people than their main opponent.
Please post here if so.
Thanks
-S