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)
This commit is contained in:
daedalus 2009-10-18 09:41:26 +00:00
parent 535a3815e9
commit 207be3f720

View file

@ -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];