PenUltima Online

It is currently Thu Aug 28, 2008 9:38 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Question on spellcasting NPC's....
PostPosted: Wed Mar 01, 2006 5:09 pm 
Offline

Joined: Fri Feb 17, 2006 7:31 pm
Posts: 22
Location: Saint Paul, MN
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 10:04 am 
Offline
User avatar

Joined: Sat Feb 04, 2006 8:17 am
Posts: 136
Location: Illinois, USA
Make sure in your spell property you are setting the correct path to the script for the spells you want them to cast.

_________________
2nd place is the 1st loser.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 6:06 pm 
Offline

Joined: Mon Feb 06, 2006 6:12 am
Posts: 93
cast_pct 95
num_casts 45


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl