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!

Spectral Spell Binder

PappaSmurf

Knight
Spectral Spell Binder

Spectral Spellbinders were added with the introduction of New Haven.

They cast no damaging spells, only debuffs and curses.

These are great for training Magic Resist on as their damage from melee attacks is low.


The Package includes the Spectral Spellbinder (add with [Spellbinder) and Custom AI for it just toss in your scripts folder some where.


*** EDIT***
I Forgot to mention there will be an edit needed to BaseAI.cs New Archive with Instructions on Edit uploaded.

Code:
public enum AIType
    {
        AI_Use_Default,
        AI_Melee,
        AI_Animal,
        AI_Archer,
        AI_Healer,
        AI_Vendor,
        AI_Mage,
        AI_Berserk,
        AI_Predator,
        AI_Thief,
        AI_Necromage,
        [COLOR=Red]AI_Spellbinder[/COLOR]
    }
Add the line in Red to the Enums at near the top of the script.

And an Edit to BaseCreature.cs

Code:
m_AI = null;

            switch ( NewAI )
            {
                case AIType.AI_Melee:
                    m_AI = new MeleeAI(this);
                    break;
                case AIType.AI_Animal:
                    m_AI = new AnimalAI(this);
                    break;
                case AIType.AI_Berserk:
                    m_AI = new BerserkAI(this);
                    break;
                case AIType.AI_Archer:
                    m_AI = new ArcherAI(this);
                    break;
                case AIType.AI_Healer:
                    m_AI = new HealerAI(this);
                    break;
                case AIType.AI_Vendor:
                    m_AI = new VendorAI(this);
                    break;
                case AIType.AI_Mage:
                    m_AI = new MageAI(this);
                    break;
                case AIType.AI_Predator:
                    //m_AI = new PredatorAI(this);
                    m_AI = new MeleeAI(this);
                    break;
                case AIType.AI_Thief:
                    m_AI = new ThiefAI(this);
                    break;              
               [COLOR=Red]case AIType.AI_Spellbinder:
                    m_AI = new SpellbinderAI(this);
                    break;[/COLOR]
            }
Add the portion in Red in your BaseCreature.cs
You can download this at

http://smurfscsharp.googlecode.com/files/Spellbinder.rar

Or via the attachment.
 

Attachments

  • Spellbinder.rar
    12.6 KB · Views: 87
Top