mijimoe
Joined: 17 Feb 2006 Posts: 22 Location: Saint Paul, MN
|
Posted: Wed Mar 01, 2006 9:09 pm Post subject: Question on spellcasting NPC's.... |
|
|
I am trying to make the spellcasting NPC's that are on the shard I manage a bit more "intelligent" and have been trying to locate a way to get certain "mages" to cast only particular spells and nothing more. For instance, in the example listed below I want the npc template called "chaoswizard" to only cast bladespirits (for a test). Here is the template that is found in the npcdesc.cfg file:
NpcTemplate chaoswizard
{
Name <random>, Chaotic Wizard
script spellKillPCs
ObjType 0x190
Color 33770
TrueColor 33784
Gender 0
STR 60
INT 70
DEX 75
HITS 120
MANA 100
STAM 75
MagicResistance 90
Meditation 100
Provocation 100
Tactics 70
Macefighting 71
Magery 105
evaluatingintelligence 100
spell bladespirit
AttackSpeed 30
AttackDamage 4d4
AttackAttribute Macefighting
AttackHitSound 0x142
AttackMissSound 0x239
damagedsound 0x155
idlesound1 0x12c
idlesound2 0x12d
AR 10
lootgroup 48
alignment evil
dstart 10
saywords 1
CProp Equipt schaoswizard
CProp Karma i-25
CProp Fame i25
AttackHitScript :combat:wrestlingHitScript
}
In the template itself I have added the "spell bladespirit" field in order to get them to cast this spell (but it does not seem to work). Does anyone have any suggestions or a template I could follow to better setup my mages to be more uniquely defined? Any help would be appreciated.
Thanks!
Mijimoe |
|