PenUltima Online

It is currently Sat Sep 06, 2008 8:36 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Spellbook
PostPosted: Thu Jan 24, 2008 5:11 pm 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
Im having major spellbook issues, when I use one it just shows clumsy over and over, I tried everything(meaning i basically reinstalled pol)

I dunno whats wrong..

Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 24, 2008 6:10 pm 
Offline

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 548
take a look at your itemdesc.cfg entry for the spellbook and compare it to mine.
Here is mine - ignore my custom stuff like the oninserts etc.

Code:
Spellbook 0x0EFA
{
   Name         Spellbook
   Desc         Spell Book
   Gump         0xFFFF
   MinX         40
   MaxX         60
   MinY         20
   MaxY         80
   Spelltype      Magic
   Newbie         1
   BlocksCastingIfInHand   0
   RequiresAttention   0
   Weight         1
   OnInsertScript      oninsert_spellbook
   CanInsertScript      caninsert_spellbook
}


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 24, 2008 6:22 pm 
Offline

Joined: Tue Jul 24, 2007 10:21 am
Posts: 38
also be sure to note the scrolls, an example scroll entry:
Code:
SpellScroll 0x1F2D
{
   Name         reactivearmorscroll
   Desc         Reactive Armor scroll

   SpellId         7
   SpellType      Magic

   VendorBuysFor      6
   VendorSellsFor      12

   Script         spellScroll/use
}


be sure the spelltype is set to magic. this is from itemdesc.cfg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 24, 2008 7:05 pm 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
OldnGrey wrote:
take a look at your itemdesc.cfg entry for the spellbook and compare it to mine.
Here is mine - ignore my custom stuff like the oninserts etc.

Code:
Spellbook 0x0EFA
{
   Name         Spellbook
   Desc         Spell Book
   Gump         0xFFFF
   MinX         40
   MaxX         60
   MinY         20
   MaxY         80
   Spelltype      Magic
   Newbie         1
   BlocksCastingIfInHand   0
   RequiresAttention   0
   Weight         1
   OnInsertScript      oninsert_spellbook
   CanInsertScript      caninsert_spellbook
}



Thanks, It was set as container not spellbook


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl