SpellType

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Dauragorn
New User
Posts: 16
Joined: Fri Mar 24, 2006 7:18 pm

SpellType

Post by Dauragorn »

To fix spellbook, i need put only 'SpellType Magic', right? but, where?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

in the itemdesc.cfg entry for the spellbook.
Dauragorn
New User
Posts: 16
Joined: Fri Mar 24, 2006 7:18 pm

Post by Dauragorn »

i already doed this, but the problems continues
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

I think I would need more information before I could answer. There are a lot of things that can break/enable the mage spellbook. You only say you want to 'fix' it, but don't explain the problem.

Things that matter:
* the core version
* whether you have uo_expansion set for players
* whether you have UOFeatureEnable set
* what client version you are logging in with
* whether the key is Spellbook or item
* whether Spelltype says Magic
Dauragorn
New User
Posts: 16
Joined: Fri Mar 24, 2006 7:18 pm

Post by Dauragorn »

2.0.3
SpellType Magic
POL096.6

have anything?
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

The v2 client makes all the feature enables redundant.

Did you have the key set to Spellbook?

ie the itemdesc entry might be similar to:

Code: Select all

Spellbook 0x0EFA
{
	Name				Spellbook
	Spelltype			Magic
	Gump				0xFFFF
	MinX				40
	MaxX				60
	MinY				20
	MaxY				80
	Newbie				1
	BlocksCastingIfInHand		0
	RequiresAttention		0
	VendorSellsFor			22
	VendorBuysFor			11
	OnInsertScript			oninsert_spellbook
	CanInsertScript		caninsert_spellbook
}
Put you own OnInsertScript and CanInsertScript lines in.
Post Reply