small tweaks to spiritspeak/animate. Removed the turn to bones feature of animate, as it is why the corpses close for otherplayers ...

This commit is contained in:
xavier 2011-09-10 07:22:45 +00:00
parent b13cb1ce31
commit 93da1f5037
2 changed files with 3 additions and 6 deletions

View file

@ -138,7 +138,7 @@ namespace Server.SkillHandlers
foreach ( Item item in Caster.GetItemsInRange( 3 ) )
{
if ( item is Corpse && !((Corpse)item).Channeled )
if( item is Corpse && !( (Corpse)item ).Channeled && !( (Corpse)item ).Animated )
{
toChannel = (Corpse)item;
break;

View file

@ -375,11 +375,8 @@ namespace Server.Spells.Necromancy
summoned.MoveToWorld( loc, map );
corpse.ProcessDelta();
corpse.SendRemovePacket();
corpse.ItemID = Utility.Random( 0xECA, 9 ); // bone graphic
corpse.Hue = 0;
corpse.ProcessDelta();
corpse.Hue = 1109;
corpse.Animated = true;
Register( caster, summoned );