Fixes to prevent internalized daemons and logs.
This commit is contained in:
parent
40ee26c6ed
commit
bf038f7175
2 changed files with 3 additions and 3 deletions
|
|
@ -105,6 +105,7 @@ namespace Server.Items
|
|||
else if ( from.Skills.Carpentry.Value < skill &&
|
||||
from.Skills.Lumberjacking.Value < skill )
|
||||
{
|
||||
item.Delete();
|
||||
from.SendLocalizedMessage( 1072652 ); // You cannot work this strange and unusual wood.
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ namespace Server.Spells.Eighth
|
|||
{
|
||||
public class SummonDaemonSpell : MagerySpell
|
||||
{
|
||||
private BaseCreature m_Daemon = new SummonedDaemon();
|
||||
|
||||
private static SpellInfo m_Info = new SpellInfo(
|
||||
"Summon Daemon", "Kal Vas Xen Corp",
|
||||
269,
|
||||
|
|
@ -48,8 +46,9 @@ namespace Server.Spells.Eighth
|
|||
{
|
||||
TimeSpan duration = TimeSpan.FromSeconds( (2 * Caster.Skills.Magery.Fixed) / 5 );
|
||||
|
||||
if ( Core.AOS )
|
||||
if ( Core.AOS ) /* Why two diff daemons? TODO: solve this */
|
||||
{
|
||||
BaseCreature m_Daemon = new SummonedDaemon();
|
||||
SpellHelper.Summon( m_Daemon, Caster, 0x216, duration, false, false );
|
||||
m_Daemon.FixedParticles(0x3728, 8, 20, 5042, EffectLayer.Head );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue