fixes [decorate and adds timestamp to world save (#87)
This commit is contained in:
parent
d7f0227268
commit
717e192cf7
65 changed files with 261 additions and 118 deletions
|
|
@ -5,6 +5,7 @@ using Server.Engines.Quests.Necro;
|
|||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Targeting;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Spells.Necromancy
|
||||
{
|
||||
|
|
@ -298,7 +299,7 @@ namespace Server.Spells.Necromancy
|
|||
|
||||
try
|
||||
{
|
||||
summoned = Activator.CreateInstance(toSummon) as Mobile;
|
||||
summoned = ActivatorUtil.CreateInstance(toSummon) as Mobile;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Spells.Necromancy
|
||||
{
|
||||
|
|
@ -170,7 +171,7 @@ namespace Server.Spells.Necromancy
|
|||
{
|
||||
try
|
||||
{
|
||||
BaseCreature bc = (BaseCreature)Activator.CreateInstance(entry.Type);
|
||||
BaseCreature bc = (BaseCreature)ActivatorUtil.CreateInstance(entry.Type);
|
||||
|
||||
// TODO: Is this right?
|
||||
bc.Skills.MagicResist.Base = m_From.Skills.MagicResist.Base;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue