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:
parent
b13cb1ce31
commit
93da1f5037
2 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue