Spellbook

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Spellbook

Post by Poi »

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
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

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: Select all

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
}
dkpat
Apprentice Poster
Posts: 55
Joined: Tue Jul 24, 2007 10:21 am

Post by dkpat »

also be sure to note the scrolls, an example scroll entry:

Code: Select all

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
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Post by Poi »

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: Select all

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
Post Reply