Pont
Knight
Necro/Arcane Run UO bug fix
Hi,
Here is the bug fix to make Necro regs work with Arcane clothing as it should do, not sure where to post so:
--- NecromancerSpell.cs.orig 2007-05-26 03:12:41.000000000 +0000
+++ NecromancerSpell.cs 2009-04-18 21:40:27.000000000 +0000
@@ -1,5 +1,6 @@
using System;
using Server;
+using Server.Items;
namespace Server.Spells.Necromancy
{
@@ -8,6 +9,17 @@ namespace Server.Spells.Necromancy
public abstract double RequiredSkill{ get; }
public abstract int RequiredMana{ get; }
+ public override bool ConsumeReagents()
+ {
+ if( base.ConsumeReagents() )
+ return true;
+
+ if( ArcaneGem.ConsumeCharges( Caster, 1 ) )
+ return true;
+
+ return false;
+ }
+
public override SkillName CastSkill{ get{ return SkillName.Necromancy; } }
public override SkillName DamageSkill{ get{ return SkillName.SpiritSpeak; } }
Hi,
Here is the bug fix to make Necro regs work with Arcane clothing as it should do, not sure where to post so:
--- NecromancerSpell.cs.orig 2007-05-26 03:12:41.000000000 +0000
+++ NecromancerSpell.cs 2009-04-18 21:40:27.000000000 +0000
@@ -1,5 +1,6 @@
using System;
using Server;
+using Server.Items;
namespace Server.Spells.Necromancy
{
@@ -8,6 +9,17 @@ namespace Server.Spells.Necromancy
public abstract double RequiredSkill{ get; }
public abstract int RequiredMana{ get; }
+ public override bool ConsumeReagents()
+ {
+ if( base.ConsumeReagents() )
+ return true;
+
+ if( ArcaneGem.ConsumeCharges( Caster, 1 ) )
+ return true;
+
+ return false;
+ }
+
public override SkillName CastSkill{ get{ return SkillName.Necromancy; } }
public override SkillName DamageSkill{ get{ return SkillName.SpiritSpeak; } }