Summary:
Customised Necromage AI V1.0 Beta for RunUO 1.0 RC0:
Used for necromage npcs. This Ai enables you to create Necromage npcs, that cast necromancer and magic spells while in combat. A good complement to any customised shard, looking for extra hardness and heavy challenges.
To use this script you must have the following items scripted in your shard:
Necromancer bag of reagents ( or if not available, necromancer reagents must be part of the npc's loot ).
Full necromancer spellbook ( how to add this, is included on smaple npc code ).
Custom Necromancer AI ( as a component, but its optional ).
Description:
Customised Necromage AI V1.0 Beta:
Uses parts of the Custom Necromacer AI coded by myself.
Used parts of the standard RunUO MageAI.cs
To use this script you must have the following items scripted in your shard:
Necromancer bag of reagents ( or if not available, necromancer reagents must be part of the npc's loot ).
Full necromancer spellbook ( see smaple npc code on how to add this to loot ).
Components needed:
These items below are needed, as just like the players, a npc must have the necessary components to use a skill:
- Necromancer spellbook - See sample npc to find out how to insert.
- Necromancer Regs, or bag of Necro reagents
- Magic Reagents, or bag of Mage Reagents
- Magic spellbook ( optional )
- Necromancy, Spirit Speak, & Poisoning skills in NPC code
- Magery, Meditation, & Evaluate Intelligence skills in NPC code.
Features:
- Npcs will cast Necromancer and Mage spells when attacking.
- Npcs use Spirit Speak & healing spells as a healing method.
- Npcs usage of high end spells such as Wither & Vengeful Spirit
- Npcs usage of spell combos, combining magery with necromancy spells.
- Npcs will teleport to target, dispel, and cure themselves from Poison.
- Improved healing performance based on Spirit Speak & Greater Heal or Heal
mage spells.
Support:
Script supported only on RunUO 1.0 RC0 version.
For support email me at:
elanon@terra.es
Or post on this thread.
Thanks:
My thanks for the collaboration and the idea for developing this customised AI go to Sidsid.
Download packages:
Download the NecromageAI.zip if you are not using my Custom Necromancer AI script.
Download the NecromageAI_Pack_for_necromancerAI_Users.zip, if you already have my Custom necromancer script installed on your shard. This pack includes not only the sample custom npc, but also the modified BaseAI.cs & BaseCreature.cs pre-modified to enable the use of both my AI's by a simple over-writting of the existing files.
Enjoy.
Installation:
Installation Instructions:
To install proceed as follows:
On the file BaseAI.cs:
Under line 26, insert the following or under line 27 ( below the necromancer Ai entry if you are using it ):
AI_Necromage
Under line 250, insert the following ( only do this if you are not using my Custom Necromancer AI script already ):
SkillName.Necromancy
On BaseCreature.cs:
Under line 1616, insert the following ( if you arent using my custom necromancer Ai script ) or under line 1621 ( if you are using my custom necromancer AI already ):
/////////////////NECROMAGEAI//////////////
case AIType.AI_Necromage:
m_AI = new NecromageAI(this);
break;
/////////////////NECROMAGEAI//////////////
Final steps:
After this is done, put the NecromageAI.cs file into your folder:
Scripts/Engines/AI/AI
Start your server after installing, normally.
More info on use:
To use on npcs, declare the AI normally like for any other AI:
public NpcName() : base( AIType.AI_Necromage, FightMode.Closest, 10, 1, 0.2, 0.4 )
The files contained on the second zip file, named "NecromageAI_Pack_for_necromancerAI_Users.zip" should not be downloaded unless you have previously installed my Custom Necromancer AI script package.
You may find my other scripts in these forums in the "others" and "systems" sections:
Custom Necromancer AI v1.0 Final - RunUO 1.0 RC0
Custom Paladin AI v1.0 Beta - RunUO 1.0 RC0
Enjoy.
