RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Necro book Filling help

Tonythdeamed

Sorceror
Hi there, im having a small prob with adding a full necro spell books into new palyers bags. i can add them and full them in game and have copyed the full spellbook line UInt64.MaxValue to the necro book but this works but the book has a few bugs can any help me please i bet its a small edit i just can not see it

Thank you
 

zerodowned

Sorceror
This isn't my script, I forget who made it but I found on here a while ago

Even if you don't want to use the Spellbook Deed, it has full books already scripted as an item so all you have to do is add FullNecroSpellbook to the player's backpack

Note: It doesn't include Mysticism, I have added it to my own version of this script though.
And, if you're running a core expansion earlier than SE, you'll want to take a look at the code for FullNecroBook under FullSpellbooks

find this part:

[Constructable]
public FullNecroSpellbook() : this((ulong)0xFFFF)
{
this.Content = (ulong)0x1FFFF; //17 spells, includes Exorcism
//this.Content = (ulong)0xFFFF; // 16 spells
}

and change to this

[Constructable]
public FullNecroSpellbook() : this((ulong)0xFFFF)
{
//this.Content = (ulong)0x1FFFF; //17 spells, includes Exorcism
this.Content = (ulong)0xFFFF; // 16 spells
}
 

Attachments

  • FullSpellbooks.cs
    6.9 KB · Views: 1
  • SpellbookDeed.cs
    5.5 KB · Views: 1
Top