From 207be3f720cead8690eda6479527c7860998f669 Mon Sep 17 00:00:00 2001 From: daedalus Date: Sun, 18 Oct 2009 09:41:26 +0000 Subject: [PATCH] Yay, my first commit! Fixed: - Summon Familiar spell was checking base necromancy skill. Now it checks the actual necromancy skill, as per OSI (http://www.uodemise.com/discussion/showthread.php?t=118371) --- Scripts/Spells/Necromancy/SummonFamiliar.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Scripts/Spells/Necromancy/SummonFamiliar.cs b/Scripts/Spells/Necromancy/SummonFamiliar.cs index d89e67767..ef9ed9c7c 100644 --- a/Scripts/Spells/Necromancy/SummonFamiliar.cs +++ b/Scripts/Spells/Necromancy/SummonFamiliar.cs @@ -124,8 +124,8 @@ namespace Server.Spells.Necromancy AddHtmlLocalized( 30, 26, 200, 20, 1060147, EnabledColor16, false, false ); // Chose thy familiar... - double necro = from.Skills[SkillName.Necromancy].Base; - double spirit = from.Skills[SkillName.SpiritSpeak].Base; + double necro = from.Skills[SkillName.Necromancy].Value; + double spirit = from.Skills[SkillName.SpiritSpeak].Value; for ( int i = 0; i < entries.Length; ++i ) { @@ -152,8 +152,8 @@ namespace Server.Spells.Necromancy { SummonFamiliarEntry entry = m_Entries[index]; - double necro = m_From.Skills[SkillName.Necromancy].Base; - double spirit = m_From.Skills[SkillName.SpiritSpeak].Base; + double necro = m_From.Skills[SkillName.Necromancy].Value; + double spirit = m_From.Skills[SkillName.SpiritSpeak].Value; BaseCreature check = (BaseCreature)SummonFamiliarSpell.Table[m_From];